summaryrefslogtreecommitdiffstats
path: root/completions/change_pw
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 14:57:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 14:57:16 +0000
commit839f2a19145079d32e1d0ab5a0f31f9cd7c3afdf (patch)
treee8091b85221c46641c1a902e9e19ca72fd0d002f /completions/change_pw
parentAdding upstream version 1:2.13.0. (diff)
downloadbash-completion-839f2a19145079d32e1d0ab5a0f31f9cd7c3afdf.tar.xz
bash-completion-839f2a19145079d32e1d0ab5a0f31f9cd7c3afdf.zip
Adding upstream version 1:2.14.0.upstream/1%2.14.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'completions/change_pw')
-rw-r--r--completions/change_pw2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/change_pw b/completions/change_pw
index 819c082..dd5dd52 100644
--- a/completions/change_pw
+++ b/completions/change_pw
@@ -9,7 +9,7 @@ _comp_cmd_change_pw()
-l | --listname)
# Prefer `list_lists` in the same dir as command
local pathcmd
- pathcmd=$(type -P "$1") && local PATH=${pathcmd%/*}:$PATH
+ pathcmd=$(type -P -- "$1") && local PATH=${pathcmd%/*}:$PATH
_comp_compgen -x list_lists mailman_lists
return
;;