summaryrefslogtreecommitdiffstats
path: root/completions/arch
diff options
context:
space:
mode:
Diffstat (limited to 'completions/arch')
-rw-r--r--completions/arch2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/arch b/completions/arch
index 7ca9738..e03056f 100644
--- a/completions/arch
+++ b/completions/arch
@@ -34,7 +34,7 @@ _comp_have_command mailmanctl &&
1)
# 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
;;
2)