Submitter | Roland Eggner |
---|---|
Date | Dec. 31, 2013, 1:45 a.m. |
Message ID | <20131231014531.GN23913@mobil.systemanalysen.net> |
Download | mbox | patch |
Permalink | /patch/3251/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/contrib/bash_completion b/contrib/bash_completion --- a/contrib/bash_completion +++ b/contrib/bash_completion @@ -179,7 +179,7 @@ shopt -s extglob ;; esac - if [ -z "$cmd" ] || [ $COMP_CWORD -eq $i ]; then + if [[ -z "${cmd-}" ]] || [ $COMP_CWORD -eq $i ]; then _hg_commands return fi