1
0

Update home/.zshrc

This commit is contained in:
Jeff Lance 2024-03-06 13:05:22 +01:00
parent c977abf63d
commit 4c49ed2f05

View File

@ -125,14 +125,41 @@ bindkey -M vicmd 'j' history-substring-search-down
# #
# nvm # zoxide
# #
# unused since i install asdf
# source /usr/share/nvm/init-nvm.sh
eval "$(zoxide init zsh)" eval "$(zoxide init zsh)"
#
# starship
# unused since i install asdf
eval "$(starship init zsh)"
#
# atuin
eval "$(atuin init zsh)"
#
# direnv
#
setopt PROMPT_SUBST
show_virtual_env() {
if [[ -n "$CONDA_DEFAULT_ENV" && -n "$DIRENV_DIR" ]]; then
echo "($(basename $CONDA_DEFAULT_ENV))"
fi
}
PS1='$(show_virtual_env)'$PS1
eval "$(direnv hook zsh)"
# #
# tmux # tmux
# #
@ -168,13 +195,6 @@ fi
#
# fuzzy file search
#
# [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# #
# ocaml # ocaml
# #
@ -200,35 +220,6 @@ unset __conda_setup
#
# direnv
#
setopt PROMPT_SUBST
show_virtual_env() {
if [[ -n "$CONDA_DEFAULT_ENV" && -n "$DIRENV_DIR" ]]; then
echo "($(basename $CONDA_DEFAULT_ENV))"
fi
}
PS1='$(show_virtual_env)'$PS1
eval "$(direnv hook zsh)"
#
# starship
# unused since i install asdf
eval "$(starship init zsh)"
#
# atuin
eval "$(atuin init zsh)"
# #
# gnome-keyring-daemon # gnome-keyring-daemon
# #