atuin/hook.zsh

8 lines
114 B
Bash
Raw Normal View History

2020-10-04 18:00:55 -06:00
# Source this in your ~/.zshrc
_shync_preexec(){
shync history add $1
}
add-zsh-hook preexec _shync_preexec