mirror of
https://github.com/alvinlollo/Single-install-script.git
synced 2026-06-24 00:06:49 +10:00
Update install.sh
This commit is contained in:
+5
-9
@@ -64,27 +64,23 @@ touch ~/.zshrc
|
|||||||
echo "$(curl https://raw.githubusercontent.com/alvinlollo/Single-install-script/refs/heads/main/configs/.zshrc)" >> ~/.zshrc
|
echo "$(curl https://raw.githubusercontent.com/alvinlollo/Single-install-script/refs/heads/main/configs/.zshrc)" >> ~/.zshrc
|
||||||
|
|
||||||
# [zsh-history-substring-search](https://github.com/zsh-users/zsh-history-substring-search)
|
# [zsh-history-substring-search](https://github.com/zsh-users/zsh-history-substring-search)
|
||||||
if [ ! -d ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search ]
|
if [ ! -d ~/.oh-my-zsh/custom/plugins/zsh-history-substring-search ]; then
|
||||||
then
|
|
||||||
git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search
|
git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)
|
# [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)
|
||||||
if [ ! -d ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions ]
|
if [ ! -d ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions ];then
|
||||||
then
|
|
||||||
git clone https://github.com/zsh-users/zsh-autosuggestions "${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions"
|
git clone https://github.com/zsh-users/zsh-autosuggestions "${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# [zsh-eza](https://github.com/z-shell/zsh-eza)
|
# [zsh-eza](https://github.com/z-shell/zsh-eza)
|
||||||
if [ ! -d ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-eza ]
|
if [ ! -d ~/.oh-my-zsh/custom/plugins/zsh-eza ]; then
|
||||||
then
|
|
||||||
git clone https://github.com/z-shell/zsh-eza.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-eza
|
git clone https://github.com/z-shell/zsh-eza.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-eza
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# [fzf-zsh-plugin](https://github.com/unixorn/fzf-zsh-plugin)
|
# [fzf-zsh-plugin](https://github.com/unixorn/fzf-zsh-plugin)
|
||||||
if [ ! -d ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-zsh-plugin ]
|
if [ ! -d ~/.oh-my-zsh/custom/plugins/fzf-zsh-plugin ]; then
|
||||||
then
|
git clone --depth 1 https://github.com/unixorn/fzf-zsh-plugin.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-zsh-plugin
|
||||||
git clone --depth 1 https://github.com/unixorn/fzf-zsh-plugin.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-zsh-plugin
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Setup fzf
|
# Setup fzf
|
||||||
|
|||||||
Reference in New Issue
Block a user