summaryrefslogtreecommitdiffstats
path: root/completions/newlist
diff options
context:
space:
mode:
Diffstat (limited to 'completions/newlist')
-rw-r--r--completions/newlist2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/newlist b/completions/newlist
index b4e6060..1e4d26e 100644
--- a/completions/newlist
+++ b/completions/newlist
@@ -19,7 +19,7 @@ _comp_cmd_newlist()
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
} &&