lvv / git-prompt

bash prompt with GIT, SVN and HG modules
http://volnitsky.com/project/git-prompt
327 stars 97 forks source link

Time long running shell commands #3

Open niklas opened 13 years ago

niklas commented 13 years ago

Notify the user when a long running shell command is finished. Auto-detects installed growl/libnotify and puts the spent time before showing the prompt.

lvv commented 13 years ago

Sorry for such a long silence. This is great! Unfortunately it does not work on my box. I've checked out your branch, and sourced git-prompt.sh. After running "sleep 11", I don't see any notifications. I have inotify-tools installed. I've put some "echo ..." in timer_start and timer_stop. It shows that timer_start is never called.

niklas commented 13 years ago

Thanks for you answer anyway. I will have a look at it again, it is working for me since a month.