atuin/hook.zsh
Ellie Huxtable 07aceb3dd4 Rename
2021-02-13 12:58:40 +00:00

7 lines
114 B
Bash

# Source this in your ~/.zshrc
_atuin_preexec(){
atuin history add $1
}
add-zsh-hook preexec _atuin_preexec