Files
AeroPkg/assets/var/gnu/zsh.md

29 lines
734 B
Markdown
Raw Normal View History

2025-08-26 04:41:14 +03:00
zsh 5.9.0.2
=
https://github.com/zsh-users/zsh/archive/refs/tags/zsh-5.9.0.2-test.tar.gz
``` sh *** build ***
autoreconf --install
2025-08-26 04:41:14 +03:00
./configure \
--prefix=/pkg/gnu/zsh \
--enable-etcdir=/pkg/gnu/zsh/etc \
--enable-multibyte \
--enable-pcre \
--enable-cap
make -j$(nproc)
make install.bin install.modules install.fns
2025-08-26 04:41:14 +03:00
```
``` sh *** config ***
mkdir -p /pkg/gnu/zsh/etc
2026-07-22 04:29:56 +03:00
cat > /pkg/gnu/zsh/etc/zprofile << 'EOF'
if [ -d /pkg/gnu/s6/etc/envdir ]; then
for f in /pkg/gnu/s6/etc/envdir/*; do
[ -r "$f" ] && export "$(basename "$f")=$(cat "$f")"
done
fi
EOF
2025-08-26 04:41:14 +03:00
echo "PROMPT='[%n@%m %~]$ '\nalias ls='ls --color=auto'\nsetopt no_hup\nsetopt no_checkjobs\nsetopt RM_STAR_SILENT" > /pkg/gnu/zsh/etc/zshrc
```