dotfiles/sub/bash/export
2022-10-16 17:02:49 +03:00

36 lines
739 B
Plaintext

umask 0077
export EDITOR="nvim"
export PAGER="less -R"
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