michaeljsmalley / dotfiles

My dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there an uninstall procedure?

thisismygit opened this issue · comments

Hey, I just ran the install script and when it started prompting me for passwords I tried to kill it (which it resisted veimently). I lazily went along with the installation and now am wondering if there should be a removal procedure for this too. I was reading from some guys blog who made it seem like this was just for backing up your own dotfiles which seems to be not entirely the case.

To restore my system to what I'm comfortable with, I did

$  cp ~/dotfiles_old ~/dotfiles  # and remove leading periods.
$ chsh -s `which bash` # I was using the bash shell

Fork the repo, add an uninstaller script that restores the files that get backed up, and I'll be happy to review and merge it.

I think it might be a good idea to also modify my setup script to read the users current shell and include it in the backup in a .receipt file of sorts that can be read by the uninstall script if its ever needed. Don't assume they're using bash or sh.

I'm afraid I'm not very good with bash/zsh. If it were ruby I'd be there for you though. I appreciate the link making/ usage algo. I manually specified the renaming of files on my console to dig out.