diff options
Diffstat (limited to 'bash/bashrc.d/path.bash')
-rw-r--r-- | bash/bashrc.d/path.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/path.bash b/bash/bashrc.d/path.bash index fb91558b..4122b03d 100644 --- a/bash/bashrc.d/path.bash +++ b/bash/bashrc.d/path.bash @@ -186,7 +186,7 @@ _path() { # Complete operation as first word 1) for cmd in help list insert append remove set check ; do - [[ $cmd == "${COMP_REPLY[COMP_CWORD]}"* ]] || continue + [[ $cmd == "${COMP_WORDS[COMP_CWORD]}"* ]] || continue COMPREPLY=("${COMPREPLY[@]}" "$cmd") done ;; |