This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Backup and modify .zshrc | |
cp $HOME/.zshrc $HOME/.zshrc_ | |
sed -i "s/^ZSH_THEME=/\# \0/" $HOME/.zshrc | |
echo >> $HOME/.zshrc | |
echo "echo \"\\n\\n\\033[1;31m\$ZSH_THEME\\033[0m\\n\\n\"" >> $HOME/.zshrc | |
# Using xterm | |
CMD="xterm -ls -e /usr/bin/env zsh" |