dotfiles/sub/bash/export
2022-07-15 23:37:47 +03:00

35 lines
729 B
Plaintext

umask 0077
export EDITOR="/usr/bin/env nvim"
export HISTSIZE=10000
export HISTFILESIZE=10000
export HISTTIMEFORMAT="%F %T "
export HISTIGNORE="&:l[lsa\.]:[bf]g:exit:q:clear:c:history:h"
test -z "$BROWSER" && export BROWSER=firefox
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
export PATH="$PATH:$HOME/bin"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
export PATH="$PATH:$HOME/.local/bin"
fi
if [ -d "$HOME/.npm-global/bin" ] ; then
export PATH="$PATH:$HOME/.npm-global/bin"
fi
if [ -d "$HOME/.go" ] ; then
export GOPATH="$HOME/.go"
fi
if [ -d "$HOME/.go/bin" ] ; then
export PATH="$PATH:$HOME/.go/bin"
fi