diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2012-01-14 11:43:15 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2012-01-14 11:43:15 +0200 |
commit | d02b4e15e3d130d426bcee1a7b03cc72f6144c90 (patch) | |
tree | 0697965cc9f30f7f7400820a5f2df70203c879f7 | |
parent | 068e422222dd862c33137b0d88eab7fe08d9e71e (diff) | |
download | bash-completion-d02b4e15e3d130d426bcee1a7b03cc72f6144c90.tar.gz |
insmod: Install for insmod.static too.
-rw-r--r-- | completions/.gitignore | 1 | ||||
-rw-r--r-- | completions/Makefile.am | 5 | ||||
-rw-r--r-- | completions/insmod | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/completions/.gitignore b/completions/.gitignore index b2a60e71..8eacc9c9 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 34f2abdc..73e9eae4 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 20840857..de619c01 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 |