summaryrefslogtreecommitdiffstats
path: root/completions/inject
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--completions/inject2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/inject b/completions/inject
index 4b46921..4dc3bc4 100644
--- a/completions/inject
+++ b/completions/inject
@@ -9,7 +9,7 @@ _comp_cmd_inject()
-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
;;