.bashrc 283 B

123456789
  1. # append to the history file, don't overwrite it
  2. shopt -s histappend
  3. # update history before executing commands
  4. PROMPT_COMMAND="history -a;$PROMPT_COMMAND"
  5. # check the window size after each command and, if necessary,
  6. # update the values of LINES and COLUMNS.
  7. shopt -s checkwinsize