summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-29 15:17:44 +0000
committerGitHub <noreply@github.com>2021-03-29 15:17:44 +0000
commit08eab3f8f77d8206e3c788fa0a8f455ef854db1c (patch)
treeda30d4e61cd38be2b04179ffd940834b90ea767c /Makefile
parent00792f8c95f804c446f8ae8e0e105a240074198e (diff)
parent6a78fcaa0a5451e8b9839c689b01c9264e391401 (diff)
downloadpodman-08eab3f8f77d8206e3c788fa0a8f455ef854db1c.tar.gz
podman-08eab3f8f77d8206e3c788fa0a8f455ef854db1c.tar.bz2
podman-08eab3f8f77d8206e3c788fa0a8f455ef854db1c.zip
Merge pull request #9307 from Luap99/powershell-completion
Add powershell completions
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 14e428397..49250f2fd 100644
--- a/Makefile
+++ b/Makefile
@@ -536,6 +536,7 @@ install.completions:
install ${SELINUXOPT} -d -m 755 ${DESTDIR}${FISHINSTALLDIR}
install ${SELINUXOPT} -m 644 completions/fish/podman.fish ${DESTDIR}${FISHINSTALLDIR}
install ${SELINUXOPT} -m 644 completions/fish/podman-remote.fish ${DESTDIR}${FISHINSTALLDIR}
+ # There is no common location for powershell files so do not install them. Users have to source the file from their powershell profile.
.PHONY: install.cni
install.cni:
@@ -658,7 +659,7 @@ install.libseccomp.sudo:
.PHONY: completions
completions: podman podman-remote
# key = shell, value = completion filename
- declare -A outfiles=([bash]=%s [zsh]=_%s [fish]=%s.fish);\
+ declare -A outfiles=([bash]=%s [zsh]=_%s [fish]=%s.fish [powershell]=%s.ps1);\
for shell in $${!outfiles[*]}; do \
for remote in "" "-remote"; do \
podman="podman$$remote"; \