From f975ee3eee19008aada42519c563ea21b841f59c Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Fri, 10 Sep 2010 14:18:25 -0400 Subject: 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. --- src/fedpkg.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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() -- cgit