From 07d2d1b3cdb65bbf5da3481447004897fe981af7 Mon Sep 17 00:00:00 2001 From: TiagoRG Date: Sat, 22 Jun 2024 19:42:17 +0100 Subject: [PATCH] zsh changes Signed-off-by: TiagoRG --- .gitignore | 1 + .zsh/.zshrc | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index e0c0325..ac97a5b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ .vim/autoload/plug.vim .zsh/zsh-autosuggestions .zsh/zsh-syntax-highlighting +.zsh/.zcompcache diff --git a/.zsh/.zshrc b/.zsh/.zshrc index 17ece46..7bf23d9 100644 --- a/.zsh/.zshrc +++ b/.zsh/.zshrc @@ -333,3 +333,8 @@ export CPATH=/home/tiagorg/.dotfiles/.local/include:$CPATH export LD_LIBRARY_PATH=/home/tiagorg/.dotfiles/.local/lib:$LD_LIBRARY_PATH export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gcr/ssh + +export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm + +eval "$(fzf --zsh)"