{"thread":{"id":"32070","subject":"[PATCH try3] completion: use more proper emulation for zsh","startedAt":"2012-11-11T13:51:24Z","lastAt":"2012-11-11T13:51:24Z","messageCount":1,"participants":["Felipe Contreras"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"202829","messageId":"1352641884-27444-1-git-send-email-felipe.contreras@gmail.com","threadId":"32070","inReplyTo":null,"subject":"[PATCH try3] completion: use more proper emulation for zsh","fromName":"Felipe Contreras","fromEmail":"felipe.contreras@gmail.com","sentAt":"2012-11-11T13:51:24Z","receivedAt":"2012-11-11T13:51:24Z","isPatch":true,"sender":{"key":"felipe.contreras@gmail.com","avatar":"https://avatars.githubusercontent.com/u/8358?v=4"},"body":"It turns out there's no 'bash' emulation in zsh. Anything that starts\nwith a 'b' is mapped to the 'sh' emulation, presumably because of\n_b_ourne shell.\n\nkzh emulation seems closer to bash, and at least I haven't had problems\nwith this.\n\nSigned-off-by: Felipe Contreras <felipe.contreras@gmail.com>\n---\n\nThis is the third time I send this patch.\n\n contrib/completion/git-completion.bash | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)\n\ndiff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash\nindex be800e0..d7439a5 100644\n--- a/contrib/completion/git-completion.bash\n+++ b/contrib/completion/git-completion.bash\n@@ -2432,8 +2432,7 @@ __gitk_main ()\n __git_func_wrap ()\n {\n \tif [[ -n ${ZSH_VERSION-} ]]; then\n-\t\temulate -L bash\n-\t\tsetopt KSH_TYPESET\n+\t\temulate -L ksh\n \n \t\t# workaround zsh's bug that leaves 'words' as a special\n \t\t# variable in versions < 4.3.12\n-- \n1.8.0\n"}]}