diff --git a/zsh/update.zsh b/zsh/update.zsh index 2da7f3b..5ac91d3 100644 --- a/zsh/update.zsh +++ b/zsh/update.zsh @@ -1,9 +1,17 @@ pull-dotfiles() { current_dir=$PWD - echo "\033[32;1m=== Updating dotfiles ===\033[0m" - cd ~/.config/dotfiles && git pull + echo "\033[32;1m=== Updating oh-my-zsh ===\033[0m" cd ~/.config/oh-my-zsh && git pull + + echo "\033[32;1m=== Updating dotfiles ===\033[0m" + cd ~/.config/dotfiles && git pull + + if [ -d ~/.config/awesome/.git ]; then + echo "\033[32;1m=== Updating awesome config ===\033[0m" + cd ~/.config/awesome/ && git pull + fi + cd $current_dir }