mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
chore(zsh): remove Vim and add Python update
This commit is contained in:
9
zshrc
9
zshrc
@@ -85,16 +85,12 @@ 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 () {
|
||||||
vim +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
|
||||||
|
pip install --upgrade pip
|
||||||
|
pip list -o --format columns| cut -d' ' -f1|xargs -n1 pip install -U
|
||||||
npm update npm -g
|
npm update npm -g
|
||||||
npm update -g
|
npm update -g
|
||||||
sudo softwareupdate -i -a
|
sudo softwareupdate -i -a
|
||||||
@@ -410,4 +406,3 @@ alias cleanup="find . -type f -name '*.DS_Store' -ls -delete"
|
|||||||
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl"
|
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl"
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user