mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Remove Strange, Unnecessary Semicolons
This commit is contained in:
parent
45b4594189
commit
3e6d6df4fe
2 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue