--- a/.bashrc Sat Oct 29 10:59:51 2016 +0800+++ b/.bashrc Sat Oct 29 11:00:57 2016 +0800@@ -4,6 +4,8 @@ *) return;; esac +umask 0077+ # append to the history file, don't overwrite it shopt -s histappend