##// END OF EJS Templates
zsh: perform ~ expansion on _hg_root
Brendan Cully -
r3605:9d815b07 default
parent child Browse files
Show More
@@ -25,14 +25,14 typeset -A _hg_cmd_globals
25 25 do
26 26 case "$words[$i]" in
27 27 -R|--repository)
28 _hg_root="$words[$i+1]"
28 eval _hg_root="$words[$i+1]"
29 29 _hg_cmd_globals+=("$words[$i]" "$_hg_root")
30 30 (( i += 2 ))
31 31 continue
32 32 ;;
33 33 -R*)
34 34 _hg_cmd_globals+="$words[$i]"
35 _hg_root="${words[$i]#-R}"
35 eval _hg_root="${words[$i]#-R}"
36 36 (( i++ ))
37 37 continue
38 38 ;;
General Comments 0
You need to be logged in to leave comments. Login now