##// END OF EJS Templates
bash_completion: do not use aliased hg if it sources a script (issue6308)...
Peter Arrenbrecht -
r45338:f71c8eea stable
parent child Browse files
Show More
@@ -160,8 +160,11 b' shopt -s extglob'
160 160 if [[ -n "$aliashg" ]]; then
161 161 aliashg=${aliashg#"alias $hg='"}
162 162 aliashg=${aliashg%"'"}
163 # `source`d aliases break completion, so ignore them
164 if [[ "${aliashg:0:7}" != "source " ]]; then
163 165 hg=$aliashg
164 166 fi
167 fi
165 168
166 169 COMPREPLY=()
167 170 cur="$2"
General Comments 0
You need to be logged in to leave comments. Login now