contrib/zsh_completion
changeset 3878 729f354f3f09
parent 3817 45a751d73080
child 4441 2d3379c598c1
equal deleted inserted replaced
3874:e88d03c2a3d9 3878:729f354f3f09
   176     _files
   176     _files
   177   fi
   177   fi
   178 }
   178 }
   179 
   179 
   180 _hg_status() {
   180 _hg_status() {
       
   181   [[ -d $PREFIX ]] || PREFIX=$PREFIX:h
   181   status_files=(${(ps:\0:)"$(_hg_cmd status -0n$1 ./$PREFIX 2>/dev/null)"})
   182   status_files=(${(ps:\0:)"$(_hg_cmd status -0n$1 ./$PREFIX 2>/dev/null)"})
   182 }
   183 }
   183 
   184 
   184 _hg_unknown() {
   185 _hg_unknown() {
   185   typeset -a status_files
   186   typeset -a status_files