diff options
author | Peter Palfrader <peter@palfrader.org> | 2012-03-21 19:54:20 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2012-03-21 19:54:20 +0000 |
commit | 8b608f4710093a8daf1e4f6129bb74e3d6059b00 (patch) | |
tree | e01bed31bd687538dc3de9ae4ece2a356bcb3c78 /zshrc | |
parent | d1d127a4f1322869e3b7df60293d81510b89120f (diff) |
Support Esc-# in zsh
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@508 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -179,6 +179,13 @@ autoload -U compinit compinit compdef _ssh ssha=ssh +insert-comment() { + BUFFER="#$BUFFER" + zle accept-line +} +zle -N insert-comment +bindkey "^[#" insert-comment + ####################################################################### ####################################################################### # SETUP ALIASES |