Adds zoxide eval to bashrc
This commit is contained in:
7
.bashrc
7
.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)"
|
||||
|
@@ -1 +1,9 @@
|
||||
#AddKeysToAgent yes
|
||||
Include config.d/*
|
||||
|
||||
#Host cumin.rre.nu
|
||||
# Hostname cumin.rre.nu
|
||||
# User jonas
|
||||
# IdentityFile ~/.ssh/id_ecdsa
|
||||
# IdentitiesOnly yes
|
||||
|
||||
|
Reference in New Issue
Block a user