We're always macOS now

This commit is contained in:
Em 2019-08-07 12:35:50 -04:00
parent b273e74b34
commit d44568cc20
1 changed files with 1 additions and 10 deletions

11
.zshrc
View File

@ -1,4 +1,4 @@
export PATH=/home/emerson/.bin:/usr/local/sbin:$PATH
export PATH=/usr/local/sbin:$PATH
export ZSH=$HOME/.oh-my-zsh
export TEXMFHOME=$HOME/.texmf
ZSH_THEME=""
@ -29,15 +29,6 @@ function chpwd() {
if [[ -d .git ]]; then
git status
fi
# Handle transitioning out of a virtual nevironment root.
[[ -n $VIRTUAL_ENV ]] && [[ -n $VIRTUAL_ROOT ]] || { parent $PWD $VIRTUAL_ENV || deactivate }
[[ -n $VIRTUAL_ENV ]] && [[ -n $VIRTUAL_ROOT ]] && { parent $PWD $VIRTUAL_ROOT || deactivate }
[[ -n $VIRTUAL_ENV ]] && return
# Activate any environment we transition into.
[[ -e .venv/bin/activate ]] && export VIRTUAL_ROOT="$PWD" && source .venv/bin/activate
[[ -e bin/activate ]] && source bin/activate && [[ -e src ]] && cd src
}
alias git='noglob git'