File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1313 " afplay" ,
1414 " convox" ,
1515 " greadlink" ,
16+ " gsed" ,
1617 " mplayer" ,
1718 " ndbroadbent" ,
1819 " osascript" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ restart_loop() (
33 trap true INT;
44 while
55 echo " Starting $1 ..."
6- eval " ${@: 2} "
6+ " ${@: 2} "
77 sleep 0.5
88 do
99 continue
@@ -194,8 +194,8 @@ rspec_show_affected_files() {
194194
195195 for file in $( git show --pretty=" format:" --name-only " $@ " | \g rep -v ' ^$' ) ; do
196196 if [[ " $file " == spec/* ]]; then
197- let f++;
198- export " $git_env_char " $f =" $file " ;
197+ (( f++ ))
198+ export " $GIT_ENV_CHAR " $f =" $file " ;
199199 echo -e " # \033[2;37m[\033[0m$f \033[2;37m]\033[0m $file " ;
200200 spec_files+=(" $file " );
201201 fi
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ __define_git_completion() {
2121 local cur words cword prev
2222 _get_comp_words_by_ref -n =: cur words cword prev
2323 COMP_LINE=\" git ${cmd} \$ {COMP_LINE/${alias_name} }\"
24- let COMP_POINT+=$(( 4 + ${# cmd} - ${# alias_name} ))
24+ (( COMP_POINT+=$(( 4 + ${# cmd} - ${# alias_name} )) ))
2525 COMP_WORDS=(git ${cmd} \"\$ {COMP_WORDS[@]:1}\" )
26- let COMP_CWORD+=1
26+ (( COMP_CWORD+=1 ))
2727 __git_wrap__git_main
2828 }
2929 "
You can’t perform that action at this time.
0 commit comments