mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
feat: Adds zoxide to shell
This commit is contained in:
@@ -102,4 +102,7 @@ export GPG_TTY=$(tty)
|
||||
# Starship Prompt
|
||||
export STARSHIP_CONFIG="$XDG_CONFIG_HOME/starship/starship.toml"
|
||||
|
||||
# Zoxide
|
||||
export _ZO_DATA_DIR="$XDG_DATA_HOME"
|
||||
|
||||
[ -f "$LOCAL_ENV" ] && source "$LOCAL_ENV"
|
||||
|
||||
@@ -252,4 +252,5 @@ function use-gpg-agent-for-ssh {
|
||||
}
|
||||
use-gpg-agent-for-ssh
|
||||
|
||||
eval "$(direnv hook zsh)"
|
||||
command -v direnv >/dev/null 2>&1 && eval "$(direnv hook zsh)"
|
||||
command -v zoxide >/dev/null 2>&1 && eval "$(zoxide init --cmd cd zsh)"
|
||||
|
||||
Reference in New Issue
Block a user