summaryrefslogtreecommitdiff
path: root/completions/pwd
diff options
context:
space:
mode:
authorDavid Paleino <dapal@debian.org>2013-04-05 12:55:51 +0200
committerDavid Paleino <dapal@debian.org>2013-04-05 12:55:51 +0200
commit09dbe3eeb2e9695d171a63e14361c4099b5be978 (patch)
tree69f099aab27e28b832e627de51ed2b99e3d7445c /completions/pwd
parent0d099a545fed933f329f434a43b58edcb52d366c (diff)
parent3085c7e12179817a02a611016606391295c69942 (diff)
downloadbash-completion-09dbe3eeb2e9695d171a63e14361c4099b5be978.tar.gz
Merge branch 'master' into 2.x2.x
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