X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=0a7d730c5490ee3e8a626b0d9e57b568ac38c646;hp=afb0a560a0bf69fb2929aab2c0a9855723d8a66b;hb=2c241ec8082ac5e826e2aaf29ff6d2eb94198c17;hpb=9bb05af2580c32647555e2bebda6d6080ac269c7 diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index afb0a56..0a7d730 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -895,7 +895,7 @@ zle -N end-of-somewhere beginning-or-end-of-somewhere # add a command line to the shells history without executing it function commit-to-history () { - print -s ${(z)BUFFER} + print -rs ${(z)BUFFER} zle send-break } zle -N commit-to-history