aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git/.gitconfig (renamed from env/.gitconfig)0
-rw-r--r--zsh/.zshenv3
-rw-r--r--zsh/.zshrc (renamed from env/.zshrc)15
3 files changed, 8 insertions, 10 deletions
diff --git a/env/.gitconfig b/git/.gitconfig
index 571d725..571d725 100644
--- a/env/.gitconfig
+++ b/git/.gitconfig
diff --git a/zsh/.zshenv b/zsh/.zshenv
new file mode 100644
index 0000000..25d4468
--- /dev/null
+++ b/zsh/.zshenv
@@ -0,0 +1,3 @@
+export LESS=R # Option to less so that git log/diff hide output after exit
+export EDITOR=nvim
+export PATH=$PATH:~/.local/bin
diff --git a/env/.zshrc b/zsh/.zshrc
index 89cbbca..76ed964 100644
--- a/env/.zshrc
+++ b/zsh/.zshrc
@@ -17,10 +17,6 @@ zmodload zsh/complist
compinit
_comp_options+=(globdots)
-# FZF
-source /usr/share/fzf/key-bindings.zsh
-source /usr/share/fzf/completion.zsh
-
# Edit line in vim with ctrl-e:
autoload edit-command-line; zle -N edit-command-line
bindkey '^e' edit-command-line
@@ -34,15 +30,14 @@ alias t=task
alias tw=timew
alias s="sudo systemctl"
-# Env
-export LESS=R # Option to less so that git log/diff hide output after exit
-export EDITOR=nvim
+# FZF
+source /usr/share/fzf/key-bindings.zsh
+source /usr/share/fzf/completion.zsh
+
+# Node version manager
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --no-use # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
-export PATH=$PATH:~/.local/bin
-
-
# Syntax highlighting, must be last
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh