mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
modularized bash history
This commit is contained in:
parent
a0f8f48016
commit
cf509c03fc
2 changed files with 15 additions and 9 deletions
11
bash/rc
11
bash/rc
|
|
@ -1,16 +1,9 @@
|
|||
## bashrc, called for interactive shells
|
||||
|
||||
# set a nice prompt
|
||||
source $DOTFILES_BASH_DIR/prompt
|
||||
source $DOTFILES_BASH_DIR/history
|
||||
|
||||
# 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
|
||||
# easy on spelling mistakes
|
||||
shopt -s cdspell
|
||||
|
||||
# turn off distractive bells
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue