From 949821e04f9257e512dd4e982d28edfbf522025e Mon Sep 17 00:00:00 2001 From: Ryan McCuaig Date: Fri, 5 Aug 2011 09:05:08 -0700 Subject: [PATCH] Correct typo, fix 'if { }' to 'if;then fi' --- plugins/osx/osx.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh index 83ffddeb3..b5c78367a 100644 --- a/plugins/osx/osx.plugin.zsh +++ b/plugins/osx/osx.plugin.zsh @@ -101,7 +101,7 @@ function trash() { IFS=$temp_ifs } -if [[ $TERM_PROGRAM == "Apple Terminal" ]] && [[ -z "$INSIDE_EMACS" ]] { +if [[ $TERM_PROGRAM == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]]; then autoload -U add-zsh-hook function lion_resume_chpwd { @@ -114,4 +114,4 @@ if [[ $TERM_PROGRAM == "Apple Terminal" ]] && [[ -z "$INSIDE_EMACS" ]] { } add-zsh-hook chpwd lion_resume_chpwd -} +fi