mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Modified tools/install.sh to download a tarball instead of depending on git
This commit is contained in:
parent
3fdaf26006
commit
9fff0bdfee
1 changed files with 5 additions and 1 deletions
|
|
@ -5,7 +5,11 @@ then
|
|||
fi
|
||||
|
||||
echo "\033[0;34mCloning Oh My Zsh...\033[0m"
|
||||
/usr/bin/env git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
|
||||
/usr/bin/env wget --no-check-certificate -O oh-my-zsh.tar.gz https://github.com/robbyrussell/oh-my-zsh/tarball/master
|
||||
mkdir ~/.oh-my-zsh
|
||||
tar -xzf oh-my-zsh.tar.gz -C ~/.oh-my-zsh --strip-path=1
|
||||
rm oh-my-zsh.tar.gz
|
||||
|
||||
|
||||
echo "\033[0;34mLooking for an existing zsh config...\033[0m"
|
||||
if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue