[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.90-136-gd02b4e1
Ville Skyttä
ville.skytta at iki.fi
Sat Jan 14 09:44:37 UTC 2012
The following commit has been merged in the master branch:
commit d02b4e15e3d130d426bcee1a7b03cc72f6144c90
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sat Jan 14 11:43:15 2012 +0200
insmod: Install for insmod.static too.
diff --git a/completions/.gitignore b/completions/.gitignore
index b2a60e7..8eacc9c 100644
--- a/completions/.gitignore
+++ b/completions/.gitignore
@@ -55,6 +55,7 @@ identify
ifdown
ifstatus
import
+insmod.static
javac
javadoc
kplayer
diff --git a/completions/Makefile.am b/completions/Makefile.am
index 34f2abd..73e9eae 100644
--- a/completions/Makefile.am
+++ b/completions/Makefile.am
@@ -407,6 +407,7 @@ CLEANFILES = \
ifdown \
ifstatus \
import \
+ insmod.static \
javac \
javadoc \
kplayer \
@@ -639,6 +640,10 @@ symlinks:
rm -f $(targetdir)/$$file && \
$(LN_S) info $(targetdir)/$$file ; \
done
+ for file in insmod.static ; do \
+ rm -f $(targetdir)/$$file && \
+ $(LN_S) insmod $(targetdir)/$$file ; \
+ done
for file in javac javadoc ; do \
rm -f $(targetdir)/$$file && \
$(LN_S) java $(targetdir)/$$file ; \
diff --git a/completions/insmod b/completions/insmod
index 2084085..de619c0 100644
--- a/completions/insmod
+++ b/completions/insmod
@@ -13,6 +13,6 @@ _insmod()
2>/dev/null | cut -d: -f1 )" -- "$cur" ) )
fi
} &&
-complete -F _insmod insmod
+complete -F _insmod insmod insmod.static
# ex: ts=4 sw=4 et filetype=sh
--
bash-completion
More information about the Bash-completion-commits
mailing list