mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
uniformizing shell config
This commit is contained in:
parent
65be65d4d6
commit
a0f8f48016
6 changed files with 81 additions and 58 deletions
13
bash/rc
13
bash/rc
|
|
@ -1,19 +1,24 @@
|
|||
## bashrc
|
||||
## bashrc, called for interactive shells
|
||||
|
||||
# set a nice prompt
|
||||
source ~/.dotfiles/bash/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 bells
|
||||
# turn off distractive bells
|
||||
set bell-style none
|
||||
|
||||
#source ~/.aliases
|
||||
# homebrew bash autocompletion
|
||||
if [ -f `brew --prefix`/etc/bash_completion ]; then
|
||||
source `brew --prefix`/etc/bash_completion
|
||||
fi
|
||||
|
||||
# vim: ft=sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue