shell-things/uninstall.sh
Mika Suomalainen e46f7e63a6 *.sh: Don't depent on bash to be at /bin/bash.
Scripts use
/usr/bin/env bash
instead of
/bin/bash
2011-09-27 19:21:26 +03:00

9 lines
403 B
Bash
Executable File

#!/usr/bin/env bash
echo "Restoring default files..."
cat ~/.bashrc.default.backup > ~/.bashrc
cat ~/.bash_aliases.default.backup > ~/.bash_aliases
cat ~/.bash_profile.default.backup > ~/.bash_profile
cat ~/.bash_exports.default.backup > ~/.bash_exports
cat ~/.bash_functions.default.backup > ~/.bash_functions
echo "Done! Now you should restart bash or source files again for default files to affect."