shell-things/uninstall.sh
2011-08-16 13:07:22 +03:00

9 lines
395 B
Bash
Executable File

#!/bin/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."