Remove Strange, Unnecessary Semicolons

This commit is contained in:
Andrew Hodges 2011-06-04 08:49:28 -04:00
commit 3e6d6df4fe
2 changed files with 7 additions and 7 deletions

View file

@ -16,9 +16,9 @@ echo "${BLUE}Cloning Oh My Zsh...${RESET}"
echo "${BLUE}Looking for an existing zsh config...${RESET}"
if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]
then
echo "${YELLOW}Found ~/.zshrc.${RESET} ${GREEN}Backing up to ~/.zshrc.pre-oh-my-zsh${RESET}";
cp ~/.zshrc ~/.zshrc.pre-oh-my-zsh;
rm ~/.zshrc;
echo "${YELLOW}Found ~/.zshrc.${RESET} ${GREEN}Backing up to ~/.zshrc.pre-oh-my-zsh${RESET}"
cp ~/.zshrc ~/.zshrc.pre-oh-my-zsh
rm ~/.zshrc
fi
echo "${BLUE}Using the Oh My Zsh template file and adding it to ~/.zshrc${RESET}"

View file

@ -13,10 +13,10 @@ fi
echo "${BLUE}Looking for an existing zsh config...${RESET}"
if [ -f ~/.zshrc.pre-oh-my-zsh ] || [ -h ~/.zshrc.pre-oh-my-zsh ]
then
echo "${YELLOW}Found ~/.zshrc.pre-oh-my-zsh.${RESET} ${GREEN}Restoring to ~/.zshrc${RESET}";
rm ~/.zshrc;
cp ~/.zshrc.pre-oh-my-zsh ~/.zshrc;
source ~/.zshrc;
echo "${YELLOW}Found ~/.zshrc.pre-oh-my-zsh.${RESET} ${GREEN}Restoring to ~/.zshrc${RESET}"
rm ~/.zshrc
cp ~/.zshrc.pre-oh-my-zsh ~/.zshrc
source ~/.zshrc
else
echo "${BLUE}Switching back to bash${RESET}"
chsh -s /bin/bash