Add a method for uninstalling the dot files · Issue #969 · mathiasbynens/dotfiles · GitHub
Skip to content

Add a method for uninstalling the dot files #969

Open

Description

@asbenjamin

It would be nice if you added a description for how to revert to the original settings. Thank you.

Activity

  1. lutim-mitul commented on Feb 22, 2022

    @lutim-mitul

    I really want to uninstall it because I can't use Git after installing it .
    image
    and I dont know how to solve it so if anyone find how to solve attached problem please give me solution

  2. franclin commented on May 31, 2022

    @franclin

    same issue, after installing it, Git simply doesn't work for me anymore. It used to. As can be seen in the screenshot, I was expecting git fetch to retrieve the list of remote branches but it's not working as expected so I need a way to revert the changes applied by dotfiles

    Screenshot 2022-05-31 at 09 47 36

  3. PaulRBerg commented on Jun 1, 2022

    @PaulRBerg

    @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.

  4. franclin commented on Jun 2, 2022

    @franclin

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions