Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: tab completion sort by modification time



On Sat, Jan 10, 2015 at 3:30 PM, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> As it happens, I have one of these lying around already (I'm 83% sure
> you wrote this for me too),
> zstyle ':completion:most-recent-file:*' match-original both
> zstyle ':completion:most-recent-file:*' file-sort modification
> zstyle ':completion:most-recent-file:*' file-patterns '*:all\ files'
> zstyle ':completion:most-recent-file:*' hidden all
> zstyle ':completion:most-recent-file:*' completer _files
> zle -C most-recent-file menu-complete _generic
> bindkey "^N"      most-recent-file
>
> --
> Mikael Magnusson

Thanks for all the replies guys. I will give this a try.

raju



Messages sorted by: Reverse Date, Date, Thread, Author