aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-12-27 19:14:04 +0300
committerCem Keylan <cem@ckyln.com>2020-12-27 19:14:04 +0300
commitfd4634af7203626b844f2d4cb6b4046c23d593ad (patch)
treeb1fc93f72821b985a411e031bb12cfaad1762905
parent71ddf7234e4a0a748541d3157e24d54cfe09c655 (diff)
downloadrepository-fd4634af7203626b844f2d4cb6b4046c23d593ad.tar.gz
zsh: simplify printf calls on build
-rwxr-xr-xextra/zsh/build6
1 files changed, 2 insertions, 4 deletions
diff --git a/extra/zsh/build b/extra/zsh/build
index 100849d8..de0bc2c2 100755
--- a/extra/zsh/build
+++ b/extra/zsh/build
@@ -2,10 +2,8 @@
{
printf "functions='Completion/*comp* "
- for comp in Base Linux Unix X Zsh; do
- printf "Completion/%s/*/* " "$comp"
- done
- printf "'\\n"
+ printf 'Completion/%s/*/* ' Base Linux Unix X Zsh
+ printf \''\n'
} >> Src/Zle/complete.mdd
rm -f Completion/Linux/Command/_pkgtool