now ESC-. gives you the last argument of the previous command

This commit is contained in:
U-UPCORP\igen322 2010-04-26 14:15:13 -05:00
commit 9525512518

View file

@ -5,7 +5,10 @@ compinit
bindkey -e bindkey -e
bindkey '\ew' kill-region bindkey '\ew' kill-region
bindkey -s '\el' "ls\n" bindkey -s '\el' "ls\n"
bindkey -s '\e.' "..\n"
## insert last argument from last command
bindkey '\e.' insert-last-word
bindkey '^r' history-incremental-search-backward bindkey '^r' history-incremental-search-backward
bindkey "^[[5~" up-line-or-history bindkey "^[[5~" up-line-or-history
bindkey "^[[6~" down-line-or-history bindkey "^[[6~" down-line-or-history