Skip to content

Commit 3101bca

Browse files
committed
Update default behvaiour for _bash-it-history-auto-save to do nothing
1 parent d985e4c commit 3101bca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/history.bash

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ function _bash-it-history-auto-save() {
1717
history -a
1818
;;
1919
*)
20-
# Append *only* if shell option `histappend` has been enabled.
21-
shopt -q histappend && history -a && return
20+
: # Do nothing, default.
2221
;;
2322
esac
2423
}

0 commit comments

Comments
 (0)