Fix bash integration to set the session (#88)

This commit is contained in:
Ellie Huxtable 2021-05-09 18:47:41 +01:00 committed by GitHub
parent 090120a834
commit d39e3cb479
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,5 @@
export ATUIN_SESSION=$(atuin uuid)
_atuin_preexec() {
id=$(atuin history start "$1")
export ATUIN_HISTORY_ID="$id"