mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 18:20:13 +01:00
tweaked zsh install script
This commit is contained in:
parent
08aafc2135
commit
be304977dd
@ -73,13 +73,13 @@ if command -v zsh >/dev/null; then
|
|||||||
echo "Directory .oh-my-zsh already exists. Skipping re-installation."
|
echo "Directory .oh-my-zsh already exists. Skipping re-installation."
|
||||||
fi
|
fi
|
||||||
# Check if the directories exist before cloning the repositories
|
# Check if the directories exist before cloning the repositories
|
||||||
if [ ! -d "${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions" ]; then
|
if [ ! -d "$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions" ]; then
|
||||||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions || true
|
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions || true
|
||||||
else
|
else
|
||||||
echo "Directory zsh-autosuggestions already exists. Skipping cloning."
|
echo "Directory zsh-autosuggestions already exists. Skipping cloning."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting" ]; then
|
if [ ! -d "$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting" ]; then
|
||||||
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting || true
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting || true
|
||||||
else
|
else
|
||||||
echo "Directory zsh-syntax-highlighting already exists. Skipping cloning."
|
echo "Directory zsh-syntax-highlighting already exists. Skipping cloning."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user