Curs3W4ll/Dotfiles

[COMING] ZSH - cd Git status alias

Opened this issue · 0 comments

What is this feature about?
When cd in a directory, display information (notification?) to say (if it is a Git directory) if a new version of the branch is available on the remote.

How will this solution be done?
New alias?
Maybe alias cd=cd $1 && detect-git-updates?
Use notify-send to say it has updates?

What needs to be done?

  • Make it available with ZSH.

Additional context
It could be better to start the command (or script) that checks that the dir is up to date in the background so the user does not way for this task to complete to use his shell