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

Re: Scrolling through directory stack in zsh



Steve Talley wrote:
>Currently I have the up and down arrows bound to scroll through the
>history list.  What I'd like is to have the left and right arrows, if
>the line is blank, to scroll through the directory stack.  Just like
>the history list, each time I hit the right or left arrow, the
>directory would appear on the command line.  And if I hit enter at that
>point, then zsh will cd to that directory.
>
>Is this currently possible in zsh?

It could be done with widgets (you'll need a recent beta).

-zefram



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