config/bash/.profile

31 lines
731 B
Text
Raw Normal View History

2011-11-22 02:32:50 +00:00
export SHELL=/bin/bash
source ~/.bash_helpers.sh
2011-06-26 03:03:37 +00:00
set_prompt
configure_ls
configure_completions
2011-06-28 00:00:15 +00:00
# default editor
export EDITOR=vim
# set history
export HISTSIZE=10000 # very large history
export HISTFILESIZE=10000 # very large history
export HISTCONTROL=ignoreboth:erasedups # ignore duplicate history entries
shopt -s histappend # append to the history when the shell exits (instead of overwriting)
# save and reload history each time a command is run, to share history between shells
export PROMPT_COMMAND="history -a; history -c; history -r"
2011-06-28 00:00:15 +00:00
2011-11-22 02:26:43 +00:00
# disable messaging
if `tty -s`; then
mesg n
fi
2011-11-22 02:26:43 +00:00
2017-03-13 15:49:52 +00:00
export PATH=$PATH:~/.bin
export TERM=xterm-256color
2017-09-15 14:49:29 +00:00
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion