summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2010-09-10 14:18:25 -0400
committerJesse Keating <jkeating@redhat.com>2010-09-10 18:41:44 -0700
commitf975ee3eee19008aada42519c563ea21b841f59c (patch)
tree8bf269f7856d7e57919f3c549f23f650a5994ae3 /src
parente2a8d7261cec8cd5a431b0ece8766cf5e5ba7b85 (diff)
downloadfedora-packager-f975ee3eee19008aada42519c563ea21b841f59c.zip
fedora-packager-f975ee3eee19008aada42519c563ea21b841f59c.tar.gz
fedora-packager-f975ee3eee19008aada42519c563ea21b841f59c.tar.xz
fedpkg: Remove filenames option from completion
The bash completion 'filenames' option prevents proper completion of local refs like tmz/f13. On systems with bash-completion >= 1.2, this should have little effect because the _filedir command sets the option as needed (or emulates it on older bash releases that lack compopt). On systems with older bash-completion (like EL-5 currently), there is a minor downside in that filename completion won't append trailing slashes to directories without the 'filenames' option. Ideally, bash-completion will be updated on EL-5 and this minor inconvenience will vanish sometime soon.
Diffstat (limited to 'src')
-rw-r--r--src/fedpkg.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fedpkg.bash b/src/fedpkg.bash
index d2279cc..d986465 100644
--- a/src/fedpkg.bash
+++ b/src/fedpkg.bash
@@ -224,7 +224,7 @@ _fedpkg()
return 0
} &&
-complete -F _fedpkg -o filenames fedpkg
+complete -F _fedpkg fedpkg
have _fedpkg &&
_fedpkg_target()