Fix update.sh
This commit is contained in:
parent
f02a5b4f20
commit
0d21647573
|
@ -10,10 +10,13 @@ command -v npm >/dev/null 2>&1 &&
|
|||
command -v rustup >/dev/null 2>&1 &&
|
||||
{ rustup update; echo; }
|
||||
command -v nvim >/dev/null 2>&1 &&
|
||||
{ nvim --headless +PlugUpdate +PlugUpgrade +qa; echo; }
|
||||
{ nvim --headless +PlugUpdate +PlugUpgrade +qa; echo "\n"; }
|
||||
command -v docker >/dev/null 2>&1 && [ -n "$(sudo docker images -q 2>/dev/null)" ] &&
|
||||
{ sudo sh -c "docker images |
|
||||
awk '(NR>1) && (\$2!~/none/) {print \$1\":\"\$2}' |
|
||||
xargs -l docker pull"; echo; }
|
||||
|
||||
zsh -ic "antidote update && echo && git -C $(dirname "$(readlink -e "$0")") pull"
|
||||
zsh -ic "antidote update; echo"
|
||||
|
||||
echo "Updating dotfiles..."
|
||||
git -C "$(dirname "$(readlink -e "$0")")" pull
|
||||
|
|
Loading…
Reference in a new issue