unRoot mode: install-packages: zsh

This commit is contained in:
Yuan Chiu 2025-05-04 17:49:41 +08:00
parent 05dfc9cc6d
commit cce7f22efb
2 changed files with 4 additions and 4 deletions

View File

@ -44,6 +44,6 @@
stripComponents = 1
include = ["share/nvim/**"]
{{/* zsh */ -}}
{{/* zsh(install-packages.sh) */ -}}
{{/* lazygit */ -}}
{{ end }}

View File

@ -9,9 +9,9 @@
{{/* 其他自訂手動安裝腳本: */ -}}
{{/* 手動安裝 eza */ -}}
# if command -v eza &> /dev/null; then
#
# fi
if command -v zsh &> /dev/null; then
sh -c "$(curl -fsSL https://raw.githubusercontent.com/romkatv/zsh-bin/master/install)" -- -d ~/.local -e no
fi
{{/* **** Root Mode ***************************************************** */ -}}
{{ else -}}