summaryrefslogtreecommitdiff
path: root/completions/pwd
diff options
context:
space:
mode:
Diffstat (limited to 'completions/pwd')
-rw-r--r--completions/pwd8
1 files changed, 3 insertions, 5 deletions
diff --git a/completions/pwd b/completions/pwd
index 8818b49d..ca00a3ff 100644
--- a/completions/pwd
+++ b/completions/pwd
@@ -11,11 +11,9 @@ _pwd()
;;
esac
- if [[ $cur == -* ]]; then
- COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
- [[ $COMPREPLY ]] || \
- COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
- fi
+ COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
+ [[ $COMPREPLY ]] || \
+ COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
} &&
complete -F _pwd pwd