Add session to hook

This commit is contained in:
Ellie Huxtable 2021-02-13 20:48:40 +00:00
parent 440c4fc233
commit ccdaa21fc6

View file

@ -1,4 +1,5 @@
# Source this in your ~/.zshrc # Source this in your ~/.zshrc
export ATUIN_SESSION=$(atuin uuid)
_atuin_preexec(){ _atuin_preexec(){
id=$(atuin history start $1) id=$(atuin history start $1)