-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall-zsh-plugins.zsh
More file actions
28 lines (25 loc) · 945 Bytes
/
install-zsh-plugins.zsh
File metadata and controls
28 lines (25 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
set -e
cd ~/.oh-my-zsh/custom/plugins
REPOS=(
"https://github.com/arzzen/calc.plugin.zsh"
"https://github.com/zuxfoucault/colored-man-pages_mod"
"https://github.com/zpm-zsh/colorize"
"https://github.com/z-shell/F-Sy-H"
"https://github.com/wfxr/forgit"
"https://github.com/andrewferrier/fzf-z"
"https://github.com/z-shell/H-S-MW"
"https://github.com/supercrabtree/k"
"https://github.com/zpm-zsh/undollar"
"https://github.com/zsh-users/zsh-autosuggestions"
"https://github.com/unixorn/warhol.plugin.zsh"
)
for x in $REPOS; do
dir=$(echo "$x" | sed 's/\(^.*\/\|\.plugin\.zsh$\)//g')
if [ ! -d "$dir" ]; then
echo "Plugin $dir not found, cloning from GitGub!"
git clone --recursive "$x" "$dir"
echo "=> Download complete!"
else
echo "Plugin $dir found!"
fi
done