aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEllie Huxtable <e@elm.sh>2021-02-13 20:48:40 +0000
committerEllie Huxtable <e@elm.sh>2021-02-13 20:48:40 +0000
commitccdaa21fc6471faaf6def79f9ad7a80a5993dc13 (patch)
tree3e76059dd94db7c47da0fcfdaff2049bf0ffcef7
parentAdd sessions (diff)
downloadatuin-ccdaa21fc6471faaf6def79f9ad7a80a5993dc13.zip
Add session to hook
-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)