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

zsh request



I have a couple of keybinding requests:

1) insert-second-to-last-word (in the same spirit as insert-last word,
which I use constantly)

2) that expand-cmd-path be repeatable so that everytime you invoke it,
the expansion changes to the next possible path for that command.
For example, if
  bindkey    '^P' expand-cmd-path
  PATH=/home/huyle/bin:/usr/local/bin:/bin
then
% make bob
^P
% /home/huyle/bin/make bob
^P
% /usr/local/bin/make bob
^P
% /bin/make bob
^P
% /home/huyle/bin/make bob

Thanks,
    Huy



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