-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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 a method for uninstalling the dot files #969
Comments
@lutim-mitul Check out https://github.com/mathiasbynens/dotfiles/blob/main/.gitconfig#L130 Your issue has nothing to do with git at all. The author states:
|
@asbenjamin Have you created a backup of your settings before you applied the settings from this repo? |
@franclin check your colors profile - it's a known problem with the Solarized Dark theme that sometimes it blackens out the text. You may have to tweak the contrast a bit. |
Hi @PaulRBerg I check all that but the reality is that I should have not installed this tool in the first place as it is far too risky. It changes a lot of default without backing them up. So I ended up reinstalling the whole system instead (thanks 👎 ) The solution to display the git branch in the prompt that I found useful was actually a lot simpler than I thought. I first created ~/.bash_profile file then enter these commands in them: # Git branch in prompt.
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ [\1]/'
}
export PS1="\u@\h \W\[\033[01;33m\]\$(parse_git_branch)\[\033[00m\] $ " It is risk free and doesn't alter any built-in or most importantly doesn't install any conflicting package. In the case of Dot files, it's installing another bash and many other files. Hoping that my experience will help others. In a nutshell, I wouldn't recommend installing dotfiles at this stage. |
It would be nice if you added a description for how to revert to the original settings. Thank you.
The text was updated successfully, but these errors were encountered: