-
Notifications
You must be signed in to change notification settings - Fork 0
/
update_external_dependencies.sh
executable file
·52 lines (43 loc) · 1.91 KB
/
update_external_dependencies.sh
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
set -Eeuox pipefail
echo 'upgrading zsh-vi-mode'
rm -rf files/zsh-custom/plugins/zsh-vi-mode
git clone https://github.com/jeffreytse/zsh-vi-mode files/zsh-custom/plugins/zsh-vi-mode
rm -rf files/zsh-custom/plugins/zsh-vi-mode/.git
echo 'done upgrading zsh-vi-mode'
echo 'upgrading oh-my-zsh'
rm -r files/.oh-my-zsh
git clone --depth 1 https://github.com/ohmyzsh/ohmyzsh files/.oh-my-zsh
rm -rf files/.oh-my-zsh/.git
echo 'done upgrading oh-my-zsh'
echo 'upgrading zsh-async'
rm -r files/zsh-custom/zsh-async
git clone --depth 1 https://github.com/mafredri/zsh-async files/zsh-custom/zsh-async
rm -rf files/zsh-custom/zsh-async/.git
echo 'done upgrading zsh-async'
echo 'upgrading zsh-autosuggestions'
rm -r files/zsh-custom/zsh-autosuggestions
git clone --depth 1 https://github.com/zsh-users/zsh-autosuggestions files/zsh-custom/zsh-autosuggestions
rm -rf files/zsh-custom/zsh-autosuggestions/.git
echo 'done upgrading zsh-autosuggestions'
echo 'upgrading zsh-syntax-highlighting'
rm -r files/zsh-custom/zsh-syntax-highlighting
git clone --depth 1 https://github.com/zsh-users/zsh-syntax-highlighting files/zsh-custom/zsh-syntax-highlighting
rm -rf files/zsh-custom/zsh-syntax-highlighting/.git
echo 'done upgrading zsh-syntax-highlighting'
echo 'upgrading tmux plugin manager (tpm)'
rm -r files/.tmux/plugins/tpm
git clone --depth 1 https://github.com/tmux-plugins/tpm files/.tmux/plugins/tpm
rm -rf files/.tmux/plugins/tpm/.git
echo 'done upgrading tmux plugin manager (tpm)'
echo 'upgrading zsh-vi-mode'
rm -r files/zsh-custom/plugins/zsh-vi-mode
git clone https://github.com/jeffreytse/zsh-vi-mode files/zsh-custom/plugins/zsh-vi-mode
rm -rf files/zsh-custom/plugins/zsh-vi-mode.git
echo 'done upgrading zsh-vi-mode'
# https://github.com/binpash/try
echo 'updating try script'
rm -rf files/bin/try
curl https://raw.githubusercontent.com/binpash/try/main/try -o files/bin/try
chmod +x files/bin/try
echo 'done updating try script'