shell-things/uninstall.sh
Mika Suomalainen 802c0da6af Rename zsh_exports to zshenv.
zshenv is sourced by every zsh (not only interactive sessions, scripts too).
Content of this file is what I probably want scripts to use too. Scripts
probably don't things like aliases.
2011-09-29 16:41:13 +03:00

8 lines
330 B
Bash
Executable File

#!/usr/bin/env zsh
echo "Restoring default files..."
cat ~/.zshrc.default.backup > ~/.zshrc
cat ~/.zsh_aliases.default.backup > ~/.zsh_aliases
cat ~/.zshenv.default.backup > ~/.zshenv
cat ~/.zsh_functions.default.backup > ~/.zsh_functions
echo "Done! Now you should restart zsh or source files again for default files to affect."