mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
Accidentally had sudo in the commands...
This commit is contained in:
parent
88c5ed1b60
commit
c438847b91
1 changed files with 2 additions and 2 deletions
|
|
@ -236,10 +236,10 @@ if [[ -n "$ZSH_THEME" ]]; then
|
||||||
else
|
else
|
||||||
echo "oh-my-zsh] The default theme (robbyrussell) was not found, redownloading it!"
|
echo "oh-my-zsh] The default theme (robbyrussell) was not found, redownloading it!"
|
||||||
if ! command -v curl &> /dev/null; then
|
if ! command -v curl &> /dev/null; then
|
||||||
sudo wget -qO $ZSH/themes/robbyrussell.zsh-theme https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/refs/heads/master/themes/robbyrussell.zsh-theme
|
wget -qO $ZSH/themes/robbyrussell.zsh-theme https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/refs/heads/master/themes/robbyrussell.zsh-theme
|
||||||
source "$ZSH/themes/robbyrussell.zsh-theme"
|
source "$ZSH/themes/robbyrussell.zsh-theme"
|
||||||
else
|
else
|
||||||
sudo curl -s -o $ZSH/themes/robbyrussell.zsh-theme https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/refs/heads/master/themes/robbyrussell.zsh-theme
|
curl -s -o $ZSH/themes/robbyrussell.zsh-theme https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/refs/heads/master/themes/robbyrussell.zsh-theme
|
||||||
source "$ZSH/themes/robbyrussell.zsh-theme"
|
source "$ZSH/themes/robbyrussell.zsh-theme"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue