diff --git a/home/dot_zshrc b/home/dot_zshrc index 6f12752..7f5843f 100644 --- a/home/dot_zshrc +++ b/home/dot_zshrc @@ -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)" +# +# 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 # @@ -168,13 +195,6 @@ fi -# -# fuzzy file search -# -# [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh - - - # # 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 #