Files
dotfiles/fish/functions/update.fish
2022-12-31 11:17:53 +01:00

11 lines
428 B
Fish

function update --description "Updating Homebrew, Ruby, Python, Node.js, Neovim, and MacOS"
brew update && brew outdated && brew upgrade && brew cleanup
sudo gem update --system && sudo gem update && gem cleanup all
pip install --upgrade pip
pip list -o --format columns | cut -d' ' -f1 | xargs -n1 pip install -U
npm update npm -g
npm update -g
nvim --headless "+Lazy! update" +qa
sudo softwareupdate -i -a
end