28
homedir/.config/bash.d/config
Normal file
28
homedir/.config/bash.d/config
Normal file
@@ -0,0 +1,28 @@
|
||||
# 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'
|
Reference in New Issue
Block a user