Skip to content

Commit 702b41a

Browse files
committed
feat: remove sudo from git clone commands in zsh.sh for improved installation process
1 parent 9a919b5 commit 702b41a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup/packages/zsh.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ if [ "" = "$PKG_OK" ] || [ "true" = "$FORCE_ZSH" ]; then
1010
sudo apt-get install -y $REQUIRED_PKG
1111

1212
# start ====== oh-my-zsh
13-
sudo git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
13+
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
1414
# Fast Syntax Highlighting
15-
sudo git clone https://github.com/zdharma/fast-syntax-highlighting.git "${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}"/plugins/fast-syntax-highlighting
15+
git clone https://github.com/zdharma/fast-syntax-highlighting.git "${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}"/plugins/fast-syntax-highlighting
1616
# ZSH Autosuggestions
17-
sudo git clone https://github.com/zsh-users/zsh-autosuggestions.git "${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}"/plugins/zsh-autosuggestions
17+
git clone https://github.com/zsh-users/zsh-autosuggestions.git "${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}"/plugins/zsh-autosuggestions
1818
# p10k theme
19-
sudo git clone --depth=1 https://github.com/romkatv/powerlevel10k.git "${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}"/themes/powerlevel10k
19+
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git "${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}"/themes/powerlevel10k
2020
# end ====== oh-my-zsh
2121

2222
# set zsh as default

0 commit comments

Comments
 (0)