summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hook.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/hook.zsh b/hook.zsh
index 8fd9beb6..d46346f2 100644
--- a/hook.zsh
+++ b/hook.zsh
@@ -1,4 +1,5 @@
# Source this in your ~/.zshrc
+export ATUIN_SESSION=$(atuin uuid)
_atuin_preexec(){
id=$(atuin history start $1)