We're always macOS now
This commit is contained in:
parent
b273e74b34
commit
d44568cc20
11
.zshrc
11
.zshrc
|
@ -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 ZSH=$HOME/.oh-my-zsh
|
||||||
export TEXMFHOME=$HOME/.texmf
|
export TEXMFHOME=$HOME/.texmf
|
||||||
ZSH_THEME=""
|
ZSH_THEME=""
|
||||||
|
@ -29,15 +29,6 @@ function chpwd() {
|
||||||
if [[ -d .git ]]; then
|
if [[ -d .git ]]; then
|
||||||
git status
|
git status
|
||||||
fi
|
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'
|
alias git='noglob git'
|
||||||
|
|
Loading…
Reference in New Issue