Update awesome config if needed
This commit is contained in:
parent
d8245151db
commit
7a9474a413
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue