Skip to content

Commit

Permalink
links: Install completion for links2 too
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Apr 21, 2018
1 parent 6119b2c commit b1fbe75
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions completions/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ ldapmodify
ldapmodrdn
ldappasswd
ldapwhoami
links2
lintian-info
lusermod
lvchange
Expand Down
5 changes: 5 additions & 0 deletions completions/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ CLEANFILES = \
ldapmodrdn \
ldappasswd \
ldapwhoami \
links2 \
lintian-info \
lusermod \
lvchange \
Expand Down Expand Up @@ -813,6 +814,10 @@ symlinks: $(targetdir) $(DATA)
rm -f $(targetdir)/$$file && \
$(LN_S) ldapsearch $(targetdir)/$$file ; \
done
for file in links2 ; do \
rm -f $(targetdir)/$$file && \
$(LN_S) links $(targetdir)/$$file ; \
done
for file in lintian-info ; do \
rm -f $(targetdir)/$$file && \
$(LN_S) lintian $(targetdir)/$$file ; \
Expand Down
2 changes: 1 addition & 1 deletion completions/links
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ _links()
esac

} &&
complete -F _links links
complete -F _links links links2

# ex: filetype=sh

0 comments on commit b1fbe75

Please sign in to comment.