.shincludes/source/env

24 lines
737 B
Text

[[ -n "${SHINCLUDES_ENV_DONE}" ]] && return 0
whence -p nvim > /dev/null && export EDITOR=nvim || true
# don't let golang dump stuff into $HOME
export GOMODCACHE="$HOME/.cache/go-mod"
export GOPATH="$HOME/.go"
export PATH="$PATH:$HOME/.go/bin"
# todo: figure out why this breaks without explicitly setting it
[[ -z "${SSH_AUTH_SOCK}" ]] && export SSH_AUTH_SOCK=/var/run/user/1000/gcr/ssh
export PATH="$PATH:$HOME/.local/bin"
export PATH="$PATH:$HOME/.cargo/bin"
export PATH="$PATH:$HOME/.local/share/gem/ruby/3.0.0/bin"
export PATH="$PATH:$HOME/.npm-packages/bin"
# prettier time format
export TIMEFMT=$'cpu %P | usr %*U | sys %*S | tot %*E'
# really, who uses less in [current year]
export PAGER=cat
export SHINCLUDES_ENV_DONE=1