This commit is contained in:
hl committed 2026-01-21 09:59:55 +08:00
1 parent be1e5783bc
commit 12da985c89
1 file changed
+3
+3
View File
@@ -41,6 +41,9 @@ personalize() {
if ((DISTRO_PVE)); then
sed -i -E "s/.*prompt .*/prompt bart/g" $HOME/.zshrc
fi
if [[ ! -x $(command -v eza) ]]; then
sed -i -E "s/.*alias ls=eza*/alias ls=exa/g" $HOME/.zshrc
fi
if [[ -x $(command -v zoxide) && $(zoxide --version) =~ '0.4' ]]; then
sed -i -E "s/.*zoxide init.*/eval \"\$(zoxide init zsh)\"/g" $HOME/.zshrc
fi