mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2025-09-11 05:46:35 +00:00
Flag gate the bash history restore feature
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user