Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to disable status notification #1077

Merged
merged 1 commit into from
Jan 11, 2013
Merged

Add option to disable status notification #1077

merged 1 commit into from
Jan 11, 2013

Conversation

Mezzle
Copy link
Contributor

@Mezzle Mezzle commented Apr 18, 2012

For certain git repositories, this slows down usage
of the shell horifically.

This option can be set with

git config --add oh-my-zsh.hide-status 1

which will disable checking/showing the status notification

For certain git repositories, this slows down usage
of the shell horifically.

This option can be set with

    git config --add oh-my-zsh.hide-status 1

which will disable checking/showing the status notification
@fedot
Copy link

fedot commented Aug 19, 2012

It would be nice to control this on per-repository level.

Currently I'm overriding parse_git_dirty in my ~/.zshrc to disable it for specific user or calling parse_git_dirty(){} in CLI to disable it temporary.

@Mezzle
Copy link
Contributor Author

Mezzle commented Sep 24, 2012

fedot, this does allow it to be done on a per-repository level, as it's git config rather than git config --global

@fedot
Copy link

fedot commented Sep 24, 2012

@Mezzle kudos!

I understand that your patch does allow it to be configured on per-repository level, and I personally think this make a great addition. ;)

Just wanted to provide quick and dirty way of doing this until this merged for people who don't want to apply it manually.

@devkmsg
Copy link

devkmsg commented Oct 22, 2012

+1 on this patch.

I have a repo with more than 10000 files, I end up waiting 5-15 secs. each time I hit the enter key. With this patch that is gone!

@hghazal
Copy link

hghazal commented Oct 22, 2012

+1 to merge this in.

@mishudark
Copy link

+1 to this patch

@stackng
Copy link

stackng commented Nov 1, 2012

+1 to merge this in.

@jfmercer
Copy link

+1 to merge.

@tksohishi
Copy link

+1 to merge

robbyrussell added a commit that referenced this pull request Jan 11, 2013
Add option to disable status notification
@robbyrussell robbyrussell merged commit 9ef7e8a into ohmyzsh:master Jan 11, 2013
@mfournierca
Copy link

This is fantastic, thanks a lot.

@Mezzle Mezzle deleted the add-option-to-show-git-status branch September 15, 2016 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants