20 lines
591 B
Bash
20 lines
591 B
Bash
# ~/.zshenv
|
||
#
|
||
|
||
# PATH
|
||
typeset -U PATH path
|
||
path=("$HOME/.local/bin" "$path[@]" "$HOME/.cargo/bin")
|
||
export PATH
|
||
|
||
# Colored less output
|
||
export LESS_TERMCAP_mb="$(printf '%b' '[1;31m')"
|
||
export LESS_TERMCAP_md="$(printf '%b' '[1;36m')"
|
||
export LESS_TERMCAP_me="$(printf '%b' '[0m')"
|
||
export LESS_TERMCAP_so="$(printf '%b' '[01;44;33m')"
|
||
export LESS_TERMCAP_se="$(printf '%b' '[0m')"
|
||
export LESS_TERMCAP_us="$(printf '%b' '[1;32m')"
|
||
export LESS_TERMCAP_ue="$(printf '%b' '[0m')"
|
||
|
||
if [[ -n $VIRTUAL_ENV && -e "${VIRTUAL_ENV}/bin/activate" ]]; then
|
||
source "${VIRTUAL_ENV}/bin/activate"
|
||
fi
|