diff options
author | eug-vs <eugene@eug-vs.xyz> | 2021-09-10 00:26:04 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2021-09-10 00:26:04 +0300 |
commit | 928097912990c92dc7cd69c692374b1a5b4636e8 (patch) | |
tree | 748419709eca0c8101d399ef2ac5b8a1a03f3d6f | |
parent | c2ff3597a5dd655f0e248612eb4e7190c656c6ab (diff) | |
download | dotfiles-928097912990c92dc7cd69c692374b1a5b4636e8.tar.gz |
refactor: move zsh to a separate stow package
-rw-r--r-- | git/.gitconfig (renamed from env/.gitconfig) | 0 | ||||
-rw-r--r-- | zsh/.zshenv | 3 | ||||
-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 @@ -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 |