mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
chore: move vim update to own function
This commit is contained in:
6
zshrc
6
zshrc
@@ -79,9 +79,13 @@ bindkey -M viins '^x^j' fzf-cd-widget # (j)ump
|
||||
# }}}
|
||||
# {{{ *** *** Functions *** ***
|
||||
|
||||
# Update Vim and Plugins
|
||||
function vimUpdate () {
|
||||
vim +PlugUpgrade +PlugInstall +PlugClean +qall
|
||||
}
|
||||
|
||||
# Get OS X Software Updates, and update installed Ruby gems, Homebrew, npm, and their installed packages
|
||||
function update () {
|
||||
nvim +PlugUpgrade +PlugInstall +PlugClean +qall
|
||||
brew update && brew outdated && brew upgrade && brew cleanup
|
||||
sudo gem update --system && sudo gem update && gem cleanup all
|
||||
npm update npm -g
|
||||
|
||||
Reference in New Issue
Block a user