Skip to content

Commit

Permalink
Update default behvaiour for _bash-it-history-auto-save to do nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcfate committed Nov 22, 2023
1 parent d985e4c commit 3101bca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/history.bash
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ function _bash-it-history-auto-save() {
history -a
;;
*)
# Append *only* if shell option `histappend` has been enabled.
shopt -q histappend && history -a && return
: # Do nothing, default.
;;
esac
}
Expand Down

0 comments on commit 3101bca

Please sign in to comment.