diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-10-14 16:10:04 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-10-14 16:10:04 +0000 |
commit | 8f1db937051afa06d984725899f8576f58f36392 (patch) | |
tree | 9dba0c2bae1cff8f0b74df90852e7ce11fbffc34 | |
parent | 518a9a4e688ec37bee93ede90c47ecf45bb6461c (diff) | |
download | cpt-8f1db937051afa06d984725899f8576f58f36392.tar.gz |
kiss: proper zsh completion handling
FossilOrigin-Name: 4246ae6bf709c005e9056621baf2285d4369273733b42496e3ebafd3fa92c97f
-rwxr-xr-x | kiss | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -316,16 +316,16 @@ pkg_junk() ( # Default list of directories and their contents to be removed from # built packages. This default assumes a prefix of '/usr' though the # user can further configure it to search whatever paths they desire. - rm_default=usr/share/doc:usr/share/gtk-doc:usr/share/info:usr/share/polkit-1 - rm_default=$rm_default:usr/share/gettext:usr/share/locale - rm_default=$rm_default:etc/bash_completion.d:usr/share/applications - rm_default=$rm_default:usr/lib/charset.alias + rm=usr/share/doc:usr/share/gtk-doc:usr/share/info:usr/share/polkit-1 + rm=$rm:usr/share/gettext:usr/share/locale:usr/lib/charset.alias + rm=$rm:etc/bash_completion.d:usr/share/applications + rm=$rm:usr/share/zsh/site-functions:usr/share/zsh/vendor-completions # Split the environment variable on ':' and turn it into an argument # list. This works exactly like '$KISS_PATH'. # # shellcheck disable=2046,2086 - { IFS=:; set -- ${KISS_RM-$rm_default}; IFS=$old_ifs; } + { IFS=:; set -- ${KISS_RM-$rm}; IFS=$old_ifs; } # Loop over each junk entry and delete it if it exists. for junk; do @@ -1019,7 +1019,7 @@ args() { ;; v|version|-v|--version) - log kiss 0.53.0 + log kiss 0.53.1 ;; h|help|-h|--help|'') |