From: Richard Hartmann Date: Tue, 24 May 2011 21:46:16 +0000 (+0200) Subject: Avoid error when executed by /bin/sh X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/15081fe001484b3337b60d0874d7ff4f608c1cc8?ds=sidebyside;hp=15081fe001484b3337b60d0874d7ff4f608c1cc8 Avoid error when executed by /bin/sh No idea why [[ -n $ZSH_VERSION ]] && vcsh_exit() {vcsh exit; zle reset-prompt;} errors out with vcsh: 96: Syntax error: "}" unexpected (expecting "fi") but oh well. ---