keydef.zsh in helpline-0.1.4 vs keydef.zsh in helpline-0.1.5

- old
+ new

@@ -1,9 +1,10 @@ # -# Ctrl-Hでhelplineを呼ぶようにする +# Ctrl-Jでhelplineを呼ぶようにする # function run-help() { - BUFFER=$(/Applications/HelpLine.app/Contents/MacOS/helpline "${BUFFER}") + /usr/local/bin/helpline "${BUFFER}" < $TTY + BUFFER=$(cat /tmp/helpline.cmd) CURSOR=${#BUFFER} zle redisplay } zle -N run-help bindkey "^h" run-help