summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/zsh/.zshrc6
-rw-r--r--.config/zsh/managers7
2 files changed, 10 insertions, 3 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 26fbb1f..a39b3f9 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -34,9 +34,6 @@ zsh_add_plugin "zsh-users/zsh-syntax-highlighting"
# For more plugins: https://github.com/unixorn/awesome-zsh-plugins
# More completions https://github.com/zsh-users/zsh-completions
-# Init pyenv
-eval "$(pyenv init -)"
-
# History in cache directory:
HISTSIZE=100000
SAVEHIST=100000
@@ -78,3 +75,6 @@ compinit
# Edit line in vim with ctrl-e:
autoload edit-command-line; zle -N edit-command-line
bindkey '^e' edit-command-line
+
+# Source language managers
+source $ZDOTDIR/functions
diff --git a/.config/zsh/managers b/.config/zsh/managers
new file mode 100644
index 0000000..5a5ade2
--- /dev/null
+++ b/.config/zsh/managers
@@ -0,0 +1,7 @@
+# Language managers
+
+# Init pyenv
+eval "$(pyenv init -)"
+
+# Init fnm (node manager)
+eval "$(fnm env)"