mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-29 04:53:17 +02:00
Remove old installation code
This commit is contained in:
parent
5edcba6de8
commit
aa88971377
1 changed files with 0 additions and 6 deletions
|
|
@ -66,12 +66,6 @@ main() {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "\033[0;34mCloning Oh My Zsh...\033[0m"
|
|
||||||
hash git >/dev/null 2>&1 && /usr/bin/env git clone https://github.com/abiggs/oh-my-zsh.git $ZSH || {
|
|
||||||
echo "git not installed"
|
|
||||||
exit
|
|
||||||
}
|
|
||||||
|
|
||||||
printf "${BLUE}Looking for an existing zsh config...${NORMAL}\n"
|
printf "${BLUE}Looking for an existing zsh config...${NORMAL}\n"
|
||||||
if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]; then
|
if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]; then
|
||||||
printf "${YELLOW}Found ~/.zshrc.${NORMAL} ${GREEN}Backing up to ~/.zshrc.pre-oh-my-zsh${NORMAL}\n";
|
printf "${YELLOW}Found ~/.zshrc.${NORMAL} ${GREEN}Backing up to ~/.zshrc.pre-oh-my-zsh${NORMAL}\n";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue