From 37f011916aa0e1a2c581c401c71f789c68403c49 Mon Sep 17 00:00:00 2001 From: pika Date: Sat, 17 May 2025 19:57:19 +0200 Subject: [PATCH] wip --- .zshrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.zshrc b/.zshrc index 9800bb6..471653f 100644 --- a/.zshrc +++ b/.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 }