started using chezmoi

This commit is contained in:
Nikolas Weger 2021-07-23 15:29:03 +02:00
parent bd6a70961d
commit 8241382382
6 changed files with 447 additions and 0 deletions

7
dot_zshenv Normal file
View file

@ -0,0 +1,7 @@
export WINPATH=$(tr ':' '\n' <<<"$PATH" | grep -E '^(/mnt)/c/' | paste -sd ':')
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$WINPATH"
export ZDOTDIR="$HOME/.config/dotfiles/zsh"
[[ -n $SSH_CONNECTION ]] && export EDITOR='vim' || export EDITOR='nvim'
[[ -f "$ZDOTDIR/local/env.zsh" ]] && source "$ZDOTDIR/local/env.zsh"