Browse Source

Add upgrade helper functions

master
Brett Langdon 9 years ago
parent
commit
75464de08e
No known key found for this signature in database GPG Key ID: A2ECAB73CE12147F
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      zshrc.d/lib/functions.zsh

+ 14
- 0
zshrc.d/lib/functions.zsh View File

@ -49,3 +49,17 @@ chef () {
eval "$(chef shell-init zsh)" eval "$(chef shell-init zsh)"
chef "$@" chef "$@"
} }
# Upgrade functions
update_spacemacs () {
cd ~/dotfiles
git subtree pull --prefix emacs.d --squash --message "Upgrade spacemacs" https://github.com/syl20bnr/spacemacs master
popd
}
update_oh_my_zsh () {
cd ~/dotfiles
git subtree pull --prefix zshrc.d/oh-my-zsh --squash --message "Upgrade oh-my-zsh" https://github.com/robbyrussell/oh-my-zsh master
popd
}

Loading…
Cancel
Save