This commit is contained in:
pika 2025-05-17 19:57:19 +02:00
parent 94dc6e553a
commit 37f011916a

7
.zshrc
View file

@ -84,6 +84,7 @@ __shell_qol__() {
# eval "$(oh-my-posh init zsh --config 'https://git.k4li.de/dotfiles/oh-my-posh/raw/branch/main/amro.toml')"
eval "$(oh-my-posh init zsh --config '~/.zsh/themes/power10k_edit.toml')"
else
echo_missing "oh-my-posh"
curl -s https://ohmyposh.dev/install.sh | $_sudo bash --norc -s -- -d /usr/bin/
fi
@ -95,6 +96,12 @@ __shell_qol__() {
if command_exists zoxide; then
eval "$(zoxide init zsh)"
eval "$(zoxide init zsh --cmd cd)"
# ─< easier dir up >────────────────────────────────────────────────────────────────────────
alias ..="z .."
else
echo_missing "zoxide"
# ─< easier dir up >────────────────────────────────────────────────────────────────────────
alias ..="cd .."
fi
}