tweaks for easier setup

This commit is contained in:
Grant Hunter
2021-11-09 19:56:28 -07:00
parent 715efe4fed
commit cda0bbf053
3 changed files with 70 additions and 10 deletions

12
zshrc
View File

@@ -105,13 +105,15 @@ setopt nosharehistory
e() {emacsclient -a "" -qc -n "$@" &; disown}
alias ec="emacsclient -qc -n"
export PATH="$PATH:$HOME/.local/bin"
export PATH="/home/ghunter/.pyenv/bin:$PATH"
export PATH=$PATH:$HOME/.local/bin
export PATH=$PATH:$HOME/.pyenv/bin
export PATH=$PATH:/usr/local/go/bin
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
source <(kubectl completion zsh)
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
cd ~
if [[ $(grep Microsoft /proc/version) ]]; then
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
cd ~
fi