dotfiles/homedir/.config/bash.d/config

29 lines
584 B
Plaintext
Raw Normal View History

# BASH options
bash_opts=(
'checkwinsize' 'histappend' 'autocd'
'checkhash'
)
shopt -s "${bash_opts[@]}"
shopt -u sourcepath
PROMPT_COMMAND='set_prompt'
HISTCONTROL="$HISTCONTROL${HISTCONTROL+,}ignoredups"
HISTCONTROL='ignoreboth'
# Environment
export LC_ALL='en_US.UTF-8'
export EDITOR='editor'
export WINEARCH='win32'
# GPG
GPG_TTY=$(tty)
export GPG_TTY
#export TERM='xterm-256color'
export COLORTERM='xterm-256color'
# Specific to this setup
alias dotfiles_pull='git -C ~/git/dotfiles pull'
alias dotfiles_push='git -C ~/git/dotfiles commit -a; git -C ~/git/dotfiles push'