1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2025-04-26 03:45:21 -04:00

Update macos.zsh

This commit is contained in:
Jake Jarvis 2021-08-11 10:07:52 -04:00
parent 49b8860694
commit 5ad02577fd
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39

View File

@ -58,17 +58,14 @@ update() {
echo -e "${YELLOW}Updating pip packages...${NC}" echo -e "${YELLOW}Updating pip packages...${NC}"
pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 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
echo -e "${YELLOW}Updating Oh-My-ZSH...${NC}"
omz update
echo -e "${YELLOW}Updating MAS apps...${NC}" echo -e "${YELLOW}Updating MAS apps...${NC}"
mas upgrade mas outdated
echo -e "${YELLOW}Check for macOS system updates...${NC}" echo -e "${YELLOW}Check for macOS system updates...${NC}"
softwareupdate --list softwareupdate --list
echo -e "${YELLOW}Updating Oh-My-ZSH...${NC}"
omz update
} }
alias rehide="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder" alias rehide="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder"