summaryrefslogtreecommitdiffstats
path: root/completions/change_pw
diff options
context:
space:
mode:
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
;;