summaryrefslogtreecommitdiffstats
path: root/completions/withlist
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--completions/withlist2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/withlist b/completions/withlist
index f687511..b91346a 100644
--- a/completions/withlist
+++ b/completions/withlist
@@ -10,7 +10,7 @@ _comp_cmd_withlist()
else
# 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
fi