Skip to content

Commit

Permalink
Add fish shell completion
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
  • Loading branch information
saschagrunert committed Mar 26, 2019
1 parent 54b901f commit 3caad1b
Show file tree
Hide file tree
Showing 2 changed files with 3,204 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ OCI_RUNTIME ?= ""

BASHINSTALLDIR=${PREFIX}/share/bash-completion/completions
ZSHINSTALLDIR=${PREFIX}/share/zsh/site-functions
FISHINSTALLDIR=${PREFIX}/share/fish/completion

SELINUXOPT ?= $(shell test -x /usr/sbin/selinuxenabled && selinuxenabled && echo -Z)
PACKAGES ?= $(shell $(GO) list -tags "${BUILDTAGS}" ./... | grep -v github.com/containers/libpod/vendor | grep -v e2e | grep -v system )
Expand Down Expand Up @@ -250,6 +251,8 @@ install.completions:
install ${SELINUXOPT} -m 644 completions/bash/podman ${BASHINSTALLDIR}
install ${SELINUXOPT} -d -m 755 ${ZSHINSTALLDIR}
install ${SELINUXOPT} -m 644 completions/zsh/_podman ${ZSHINSTALLDIR}
install ${SELINUXOPT} -d -m 755 ${FISHINSTALLDIR}
install ${SELINUXOPT} -m 644 completions/fish/podman.fish ${FISHINSTALLDIR}

install.cni:
install ${SELINUXOPT} -d -m 755 ${ETCDIR}/cni/net.d/
Expand Down

0 comments on commit 3caad1b

Please sign in to comment.