From af1f0b6aef122290e6e2692f1b6d468fc258b1fa Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 15 May 2024 10:07:24 +0800 Subject: updatesgp --- plugins-customization.zsh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'plugins-customization.zsh') diff --git a/plugins-customization.zsh b/plugins-customization.zsh index 68d87e9..d0a946e 100755 --- a/plugins-customization.zsh +++ b/plugins-customization.zsh @@ -107,15 +107,16 @@ add-zsh-hook -Uz precmd rehash_precmd #z4h init || return # thefuck -eval $(thefuck --alias) +#eval $(thefuck --alias) # autojump -source $HOME/.autojump/etc/profile.d/autojump.sh +#source $HOME/.autojump/etc/profile.d/autojump.sh autoload -U compinit && compinit -u # homebrew -#[ -d /home/linuxbrew/.linuxbrew ] && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) -eval "$(/usr/local/linuxbrew/bin/brew shellenv)" +# [ -d /home/linuxbrew/.linuxbrew ] && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) +# eval "$(/usr/local/linuxbrew/bin/brew shellenv)" +eval "$(/opt/homebrew/bin/brew shellenv)" # >>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! @@ -157,5 +158,8 @@ rehash_precmd() { #source $ZSH/custom/plugins/copybuffer/copybuffer.plugin.zsh #source $ZSH/custom/plugins/dirhistory/dirhistory.plugin.zsh +#source /usr/share/nvm/init-nvm.sh + # nix if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then . $HOME/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer +eval "$(zoxide init zsh --cmd cd)" -- cgit v1.2.3