mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(fish): add some of my often used functions
This commit is contained in:
10
fish/functions/update.fish
Normal file
10
fish/functions/update.fish
Normal file
@@ -0,0 +1,10 @@
|
||||
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
|
||||
Reference in New Issue
Block a user