Toastie 7 ヶ月 前
コミット
0ce1644df9
1 ファイル変更9 行追加0 行削除
  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