summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@elliehuxtable.com>2021-05-09 18:47:41 +0100
committerGitHub <noreply@github.com>2021-05-09 18:47:41 +0100
commitd39e3cb47915b64fb2035070012347fff1ddbcc4 (patch)
tree8c88ce278d6ba1d76501a2bf6acf3907c897ec22
parent090120a834dae463a3f9edb9c1f0d8453fd8ef8c (diff)
Fix bash integration to set the session (#88)
-rw-r--r--src/shell/atuin.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shell/atuin.bash b/src/shell/atuin.bash
index 93c31922..038e4423 100644
--- a/src/shell/atuin.bash
+++ b/src/shell/atuin.bash
@@ -1,3 +1,5 @@
+export ATUIN_SESSION=$(atuin uuid)
+
_atuin_preexec() {
id=$(atuin history start "$1")
export ATUIN_HISTORY_ID="$id"