Change Zsh file completion order for a specific directory

Viewed 389

When I use Zsh file completion on my downloads directory, it would be useful if it would show the files sorted by modification time.

This command will do so for all file completions:

zstyle ':completion:*' file-sort modification

How would I apply this only to files in ~/Downloads?

Edit: As Gilles suggests this is not possible, could I bind another key to file completion with file-sort modification?

0 Answers
Related