mirror of
https://github.com/ivabus/dotfiles
synced 2024-11-22 16:15:07 +03:00
16 lines
No EOL
371 B
Bash
16 lines
No EOL
371 B
Bash
#!/bin/sh
|
|
|
|
# Dotfiles upgrade script that just pulls new dotfiles from repo
|
|
# oh-my-zsh update included!
|
|
|
|
CURRENTDIR="$(pwd)"
|
|
GREEN="\033[32m"
|
|
DEFAULTC="\033[0m"
|
|
|
|
cd $HOME/.dotfiles
|
|
echo "${GREEN}Upgrading dotfiles$DEFAULTC"
|
|
git pull
|
|
sh tools/relink.sh
|
|
echo "${GREEN}Upgrading oh-my-zsh$DEFAULTC"
|
|
zsh -c "source $ZSH/oh-my-zsh.sh && omz update" > /dev/null
|
|
cd $CURRENTDIR |