bullet-train.zsh
bullet-train.zsh copied to clipboard
bug when in git repository
when I write
TMOUT=1
TRAPALRM ()
{zle reset-prompt}
(because I want a dynamic clock in terminal,so I set above in ~/.zshrc)
and open terminal in a folder contained .git
then the terminal return dirty status
information
and jump to new command line each second...
the movie for above phenomenon is:
https://asciinema.org/a/DOq78og1q0ZCdZW0c6RlOEDDe
Please help,thanks