[packages/bash-completion] port poldek completion to 2.0
glen
glen at pld-linux.org
Thu Aug 16 23:54:19 CEST 2012
commit 0e4e06fb096b8cf882d298c00b825b16bc332e87
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Aug 17 00:54:16 2012 +0300
port poldek completion to 2.0
bash-completion-poldek.sh | 6 +-----
bash-completion.spec | 2 +-
2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/bash-completion.spec b/bash-completion.spec
index 1d9c22c..e373ba3 100644
--- a/bash-completion.spec
+++ b/bash-completion.spec
@@ -6,7 +6,7 @@ Summary: bash-completion offers programmable completion for bash
Summary(pl.UTF-8): Programowalne uzupełnianie nazw dla basha
Name: bash-completion
Version: 2.0
-Release: 1
+Release: 2
Epoch: 1
License: GPL v2+
Group: Applications/Shells
diff --git a/bash-completion-poldek.sh b/bash-completion-poldek.sh
index 5bf2fd7..1cbc5f6 100644
--- a/bash-completion-poldek.sh
+++ b/bash-completion-poldek.sh
@@ -1,5 +1,3 @@
-have poldek && {
-
# poldek(1) completion
#
_poldek()
@@ -64,7 +62,5 @@ _poldek()
esac
return 0
-}
+} &&
complete -F _poldek $nospace $filenames poldek
-
-}
More information about the pld-cvs-commit
mailing list