mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +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 *** ***
|
# {{{ *** *** 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
|
# Get OS X Software Updates, and update installed Ruby gems, Homebrew, npm, and their installed packages
|
||||||
function update () {
|
function update () {
|
||||||
nvim +PlugUpgrade +PlugInstall +PlugClean +qall
|
|
||||||
brew update && brew outdated && brew upgrade && brew cleanup
|
brew update && brew outdated && brew upgrade && brew cleanup
|
||||||
sudo gem update --system && sudo gem update && gem cleanup all
|
sudo gem update --system && sudo gem update && gem cleanup all
|
||||||
npm update npm -g
|
npm update npm -g
|
||||||
|
|||||||
Reference in New Issue
Block a user