[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] [PATCH] bash_completion: Drop wrapping conditional
From: |
Jean Delvare |
Subject: |
[Quilt-dev] [PATCH] bash_completion: Drop wrapping conditional |
Date: |
Sun, 23 Feb 2014 15:14:29 +0100 |
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.
---
On top of my previous patch set.
bash_completion | 4 ----
1 file changed, 4 deletions(-)
--- 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
--
Jean Delvare
Suse L3 Support
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Quilt-dev] [PATCH] bash_completion: Drop wrapping conditional,
Jean Delvare <=