PROMPT COMMAND
Jump to navigation
Jump to search
Save every executed command to: ~/.bash_history
export PROMPT_COMMAND='history -a'
See also[edit]
- Bash history:
history[ -a | -c | -r ],history --help,~/.bash_history,HISTFILE, HISTSIZE, HISTTIMEFORMAT, HSTR direnv [ allow | hook bash ], .envrc,brew install direnv, PROMPT_COMMANDBash [ -c ],alias,&&, Bash history, Autocompletion,set,unset,export,.bash_aliases, .bashrc and .bash profile,PS1,echo,brace expansion, Function,shopt,trap,set -e,source,PATH,complete,disown,.hushlogin,.bashrc,builtin,eval,set,$PATH,$HOME,TZ,.profile,-e, -i,Builtin (Bash),mapfile,~, return (Bash), for, until,declare, dirname, basename, functions.sh, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@, Bash versions, Backslash \
Advertising: