From fc84029caa9cc97cb6a380604aab50f564438272 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 15 Jan 2022 18:12:21 +0100 Subject: Move language managers to a separate zsh file --- .config/zsh/.zshrc | 6 +++--- .config/zsh/managers | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 .config/zsh/managers 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)" -- cgit v1.2.3-70-g09d2