Toastie 2 weeks ago
parent
commit
0ce1644df9
1 changed files with 9 additions and 0 deletions
  1. 9 0
      linux/terminal/.bashrc

+ 9 - 0
linux/terminal/.bashrc

@@ -0,0 +1,9 @@
+# append to the history file, don't overwrite it
+shopt -s histappend
+
+# update history before executing commands
+PROMPT_COMMAND="history -a;$PROMPT_COMMAND"
+
+# check the window size after each command and, if necessary,
+# update the values of LINES and COLUMNS.
+shopt -s checkwinsize