-
Notifications
You must be signed in to change notification settings - Fork 395
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
Example of ~/.zshrc #141
Comments
can i ask how to fix git super status error? |
Hi! Could you please share the error message? |
invoking |
@craftyguy, the git directory exists only at the root of the git repository. The check would need to look recursively at the parent directories as well. If you want a faster git prompt, you could try https://github.com/zsh-git-prompt/zsh-git-prompt/. It uses the shell directly, avoiding the startup cost of Python or Haskell. |
ah yes, good point. |
Hi,
I only learned about your project recently and already find it really useful!
I am not sure if this is the best place for me to share this or if it is important, so feel free to delete this issue.
I just thought an "example" configuration could help people save some time looking for this.
The system I tested this in is a macOS Catalina.
Please feel free to let me know if there is a better way to implement this example.
Thank you for this repo,
Diana
Example
So that whenever I switch to a new folder it tests if it is a git repo and if it is calls the PROMPT option, if not keeps it a zsh shell. I added the example lines below to
~/.zshrc
I had to create that file (before I only had
~/.zprofile
) and decided not to use the.sh
termination as is consistent with other profile files.The text was updated successfully, but these errors were encountered: