Add configuration for bash
- Add ~/.bashrc + Configure on how the `history` works + Enable nicer `cd` and globbing behavior + Enable tab completion, even for aliases + Add some more stuff from Debian's ~/.bashrc - Add ~/.bash_logout clearing the screen - Add stubs for ~/.bash_login and ~/.bash_profile that redirect to ~/.profile - Ensure ~/.local/state/bash/ exists
This commit is contained in:
parent
4fedbdb3a9
commit
f2fb31a404
8 changed files with 185 additions and 5 deletions
|
|
@ -7,4 +7,14 @@
|
|||
alias dotfiles='git --git-dir=$DOTFILES_DIR --work-tree=$HOME'
|
||||
|
||||
|
||||
|
||||
forget() { # the current history and restore $HISTFILE from disk
|
||||
if [ -n "$BASH_VERSION" ]; then
|
||||
history -c
|
||||
history -r
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
||||
alias grep='grep --exclude-dir=.git'
|
||||
|
|
|
|||
Loading…
Reference in a new issue