shell-things/uninstall.sh

9 lines
403 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2011-08-16 07:11:37 +02:00
echo "Restoring default files..."
cat ~/.bashrc.default.backup > ~/.bashrc
cat ~/.bash_aliases.default.backup > ~/.bash_aliases
cat ~/.bash_profile.default.backup > ~/.bash_profile
2011-08-16 12:05:50 +02:00
cat ~/.bash_exports.default.backup > ~/.bash_exports
2011-08-16 07:11:37 +02:00
cat ~/.bash_functions.default.backup > ~/.bash_functions
echo "Done! Now you should restart bash or source files again for default files to affect."