summaryrefslogtreecommitdiff
path: root/plugins-customization.zsh
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-05-15 10:07:24 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-05-15 10:07:24 +0800
commitaf1f0b6aef122290e6e2692f1b6d468fc258b1fa (patch)
treec58c5021df316674328607b42d98ae6a8f95b430 /plugins-customization.zsh
parent0f532510d2001399e3800a579d4cae0762daf0bd (diff)
updatesgp
Diffstat (limited to 'plugins-customization.zsh')
-rwxr-xr-xplugins-customization.zsh12
1 files changed, 8 insertions, 4 deletions
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)"