Flag gate the bash history restore feature

This commit is contained in:
Bruno Sutic
2014-10-17 22:33:29 +02:00
parent 8328de41d8
commit 8684d4592b
4 changed files with 13 additions and 2 deletions

View File

@ -129,7 +129,9 @@ save_all() {
dump_windows >> $resurrect_file_path
dump_state >> $resurrect_file_path
ln -fs "$resurrect_file_path" "$(last_resurrect_file)"
dump_bash_history
if save_bash_history_option_on; then
dump_bash_history
fi
}
main() {