mirror of
https://github.com/jakejarvis/dotfiles.git
synced 2025-09-15 23:15:30 -04:00
more random touchups
This commit is contained in:
@@ -55,7 +55,7 @@ export LSCOLORS=ExFxBxDxCxegedabagacad
|
||||
# Other miscellaneous settings
|
||||
export HOMEBREW_NO_ANALYTICS=1
|
||||
export HOMEBREW_NO_INSECURE_REDIRECT=1
|
||||
export HOMEBREW_CASK_OPTS=--require-sha
|
||||
# export HOMEBREW_CASK_OPTS=--require-sha
|
||||
|
||||
# iTerm2
|
||||
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|
||||
|
@@ -50,16 +50,18 @@ update() {
|
||||
NC="\033[0m"
|
||||
YELLOW="\033[0;33m"
|
||||
|
||||
sudo -v
|
||||
|
||||
echo -e "${YELLOW}Updating Homebrew formulae and casks...${NC}"
|
||||
brew update
|
||||
# git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask" fetch --unshallow
|
||||
brew upgrade
|
||||
brew upgrade --cask
|
||||
brew upgrade --cask --greedy
|
||||
brew cleanup
|
||||
|
||||
echo -e "${YELLOW}Updating NPM/Yarn packages...${NC}"
|
||||
npm install npm -g
|
||||
npm update -g
|
||||
npm install npm@latest --global
|
||||
npm update --global
|
||||
yarn global upgrade
|
||||
|
||||
echo -e "${YELLOW}Updating Ruby gems...${NC}"
|
||||
@@ -70,7 +72,7 @@ update() {
|
||||
|
||||
# https://stackoverflow.com/a/3452888
|
||||
echo -e "${YELLOW}Updating pip packages...${NC}"
|
||||
pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
|
||||
pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U
|
||||
|
||||
echo -e "${YELLOW}Updating Composer packages...${NC}"
|
||||
composer global update
|
||||
|
Reference in New Issue
Block a user