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

@ -49,6 +49,11 @@ remove_first_char() {
echo "$1" | cut -c2-
}
save_bash_history_option_on() {
local option="$(get_tmux_option "$bash_history_option" "off")"
[ "$option" == "on" ]
}
# path helpers
resurrect_dir() {