summaryrefslogtreecommitdiffstats
path: root/completions/config_list
diff options
context:
space:
mode:
Diffstat (limited to 'completions/config_list')
-rw-r--r--completions/config_list2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/config_list b/completions/config_list
index d75ef2e..96a7ab8 100644
--- a/completions/config_list
+++ b/completions/config_list
@@ -20,7 +20,7 @@ _comp_cmd_config_list()
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_xfunc list_lists mailman_lists
fi