Skip to content

Commit

Permalink
Add bash completions by Aneurin Price.
Browse files Browse the repository at this point in the history
These can be manually installed as needed by end users.  They
have been added to the repository so they can be kept up to date
with the latest code.

Signed-off-by: Turbo Fredriksson <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#1588
  • Loading branch information
FransUrbo authored and behlendorf committed Aug 6, 2014
1 parent 5dbd68a commit 1ffe90c
Show file tree
Hide file tree
Showing 5 changed files with 401 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include $(top_srcdir)/config/tgz.am

SUBDIRS = include rpm
if CONFIG_USER
SUBDIRS += dracut udev etc man scripts lib cmd
SUBDIRS += dracut udev etc man scripts lib cmd contrib
endif
if CONFIG_KERNEL
SUBDIRS += module
Expand Down
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ AC_CONFIG_FILES([
cmd/arcstat/Makefile
cmd/dbufstat/Makefile
cmd/zed/Makefile
contrib/Makefile
contrib/bash_completion.d/Makefile
module/Makefile
module/avl/Makefile
module/nvpair/Makefile
Expand Down
2 changes: 2 additions & 0 deletions contrib/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SUBDIRS = bash_completion.d
DIST_SUBDIRS = bash_completion.d
5 changes: 5 additions & 0 deletions contrib/bash_completion.d/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bashcompletiondir = $(sysconfdir)/bash_completion.d

noinst_DATA = zfs

EXTRA_DIST = $(noinst_DATA)
Loading

0 comments on commit 1ffe90c

Please sign in to comment.