summaryrefslogtreecommitdiff
path: root/completions/postconf
diff options
context:
space:
mode:
Diffstat (limited to 'completions/postconf')
-rw-r--r--completions/postconf9
1 files changed, 4 insertions, 5 deletions
diff --git a/completions/postconf b/completions/postconf
index 5b998d9e..c1f17d9d 100644
--- a/completions/postconf
+++ b/completions/postconf
@@ -10,11 +10,11 @@ _postconf()
case $prev in
-b|-t)
_filedir
- return 0
+ return
;;
-c)
_filedir -d
- return 0
+ return
;;
-e)
cur=${cur#[\"\']}
@@ -24,7 +24,7 @@ _postconf()
if [[ $cur == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
- return 0
+ return
fi
local len=${#cur} idx=0 pval
@@ -34,8 +34,7 @@ _postconf()
idx=$(($idx+1))
fi
done
- return 0
} &&
complete -F _postconf postconf
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh