fix: vim plug in update function

This commit is contained in:
Stefan Imhoff
2021-12-25 10:02:29 +01:00
parent 5c547f50a9
commit ac5996dcd3

2
zshrc
View File

@@ -81,7 +81,7 @@ bindkey -M viins '^x^j' fzf-cd-widget # (j)ump
# Get OS X Software Updates, and update installed Ruby gems, Homebrew, npm, and their installed packages
function update () {
vim -u ~/.config/nvim/init.vim +PlugUpgrade +PlugInstall +PlugClean +qall
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