From c0a3859797de2ea383fd9e043cd6b6d172b5145f Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Thu, 21 Aug 2025 19:46:13 +0200 Subject: [PATCH] Adds zoxide eval to bashrc --- .bashrc | 7 ++++--- .ssh/config | 8 ++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index 682b6f6..d4afbd1 100644 --- a/.bashrc +++ b/.bashrc @@ -29,6 +29,7 @@ fi # PS1 Prompt # shellcheck disable=1090 +# shellcheck disable=1091 [[ -f "$HOME/.functions/ps1.sh" ]] && source "$HOME/.functions/ps1.sh" # shellcheck disable=1090 @@ -37,7 +38,7 @@ fi # shellcheck disable=1090 [[ -d "$HOME/.rbenv/bin" ]] && export PATH="$HOME/.rbenv/bin:$PATH" && eval "$(rbenv init -)" -[[ "$(hostname)" != "pingue" ]] && export PS1_COLOR_HOSTNAME="\[\033[0;33m\]" +[[ "$(hostname)" != "framer" ]] && export PS1_COLOR_HOSTNAME="\[\033[0;33m\]" -#exit with no error -/bin/true +# shellcheck disable=1091 +type zoxide >/dev/null 2>&1 && eval "$(zoxide init bash --cmd cd)" diff --git a/.ssh/config b/.ssh/config index 53eda29..eae9890 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1 +1,9 @@ +#AddKeysToAgent yes Include config.d/* + +#Host cumin.rre.nu +# Hostname cumin.rre.nu +# User jonas +# IdentityFile ~/.ssh/id_ecdsa +# IdentitiesOnly yes +