summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2016-10-21 14:58:30 +0200
committerJean Delvare <jdelvare@suse.de>2016-10-21 14:58:30 +0200
commitfc135cac095bc18a4d181b4d3ca977362a9a51cf (patch)
tree2b2cf24c4bb6bb63432ce2a4bb18d090bda2fe01
parent405c0483b5f9837d71e26e167e94e81991ee35a4 (diff)
downloadquilt-fc135cac095bc18a4d181b4d3ca977362a9a51cf.tar.gz
bash_completion: Drop wrapping conditional
Drop the check for quilt being present. No other completion file has such a check, because it's useless. If the program isn't installed then its completion file isn't installed either.
-rw-r--r--bash_completion4
1 files changed, 0 insertions, 4 deletions
diff --git a/bash_completion b/bash_completion
index 28934a1..e949aaf 100644
--- a/bash_completion
+++ b/bash_completion
@@ -11,8 +11,6 @@
# completion to work then you must set QUILT_PC in your global environment
# (for example in ~/.profile) and not just in your quiltrc file.
-if type quilt &> /dev/null ; then
-
# Complete on files (by default) or directories (with -d)
#
_quilt_comfile()
@@ -243,5 +241,3 @@ _quilt_completion()
&& _quilt_complete_opt="-o filenames"
complete -F _quilt_completion $_quilt_complete_opt quilt
unset -v _quilt_complete_opt
-
-fi