atuin/hook.zsh
Ellie Huxtable 3a690862ee Add zsh hook
2020-10-05 01:00:55 +01:00

7 lines
114 B
Bash

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