mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
* Implement aliases, completion in oh-my-bash * Added default themes from Bash-it * Fixed few issues
28 lines
691 B
Bash
28 lines
691 B
Bash
#!/usr/bin/env bash
|
|
shopt -s histappend # append to bash_history if Terminal.app quits
|
|
|
|
## Command history configuration
|
|
if [ -z "$HISTFILE" ]; then
|
|
HISTFILE=$HOME/.bash_history
|
|
fi
|
|
|
|
HISTSIZE=10000
|
|
SAVEHIST=10000
|
|
|
|
# Show history
|
|
#case $HIST_STAMPS in
|
|
#"mm/dd/yyyy") alias history='fc -fl 1' ;;
|
|
#"dd.mm.yyyy") alias history='fc -El 1' ;;
|
|
#"yyyy-mm-dd") alias history='fc -il 1' ;;
|
|
#*) alias history='fc -l 1' ;;
|
|
#esac
|
|
|
|
#shopt append_history
|
|
#shopt extended_history
|
|
#shopt hist_expire_dups_first
|
|
#shopt hist_ignore_dups # ignore duplication command history list
|
|
#shopt hist_ignore_space
|
|
#shopt hist_verify
|
|
#shopt inc_append_history
|
|
#shopt share_history # share command history data
|