wip
This commit is contained in:
parent
94dc6e553a
commit
37f011916a
1 changed files with 7 additions and 0 deletions
7
.zshrc
7
.zshrc
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue