mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
24 lines
511 B
Bash
24 lines
511 B
Bash
## bashrc, called for interactive shells
|
|
|
|
# set a nice prompt
|
|
source $DOTFILES_BASH_DIR/prompt
|
|
|
|
# ignore repeated, space-started, and casual commands
|
|
export HISTIGNORE="&:[ ]*:l[sl]:[bf]g:exit"
|
|
|
|
# enable multiline single command
|
|
shopt -s cmdhist
|
|
|
|
# enable appending to histfile
|
|
shopt -s histappend
|
|
shopt -s cdspell
|
|
|
|
# turn off distractive bells
|
|
set bell-style none
|
|
|
|
# homebrew bash autocompletion
|
|
if [ -f `brew --prefix`/etc/bash_completion ]; then
|
|
source `brew --prefix`/etc/bash_completion
|
|
fi
|
|
|
|
# vim: ft=sh
|