From 8aa79a0b78f4cfc778621d895cb4f771ec1d737b Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Wed, 22 Aug 2012 19:48:44 +1200 Subject: [PATCH] Fixed git add keybinding for zsh --- lib/git/keybindings.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git/keybindings.sh b/lib/git/keybindings.sh index 3ddefb0..3dd47e0 100644 --- a/lib/git/keybindings.sh +++ b/lib/git/keybindings.sh @@ -28,7 +28,7 @@ if [[ "$git_keyboard_shortcuts_enabled" = "true" ]]; then if ! set -o | grep -q '^vi .*on$'; then if [[ $shell == "zsh" ]]; then _bind "$git_commit_all_keys" " git_commit_all""\n" - _bind "$git_add_and_commit_keys" " \e[1~ git_add_and_commit""\n" + _bind "$git_add_and_commit_keys" " \e[1~ git_add_and_commit ""\n" else _bind "$git_commit_all_keys" "\" git_commit_all\n\"" _bind "$git_add_and_commit_keys" "\"\e[1~ git_add_and_commit \n\""