Add bash history saving and restoring (first version).

This does not yet have flag to turn the feature off.
This commit is contained in:
Radoslaw Burny
2014-10-13 00:47:44 +02:00
committed by Bruno Sutic
parent a73c465e47
commit 81982b5114
3 changed files with 35 additions and 0 deletions

View File

@ -63,3 +63,8 @@ resurrect_file_path() {
last_resurrect_file() {
echo "$(resurrect_dir)/last"
}
resurrect_history_file() {
local pane_id="$1"
echo "$(resurrect_dir)/bash_history-${pane_id}"
}