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