-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Big cleanup and update for new system install
- Loading branch information
Showing
12 changed files
with
130 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
# Logs and databases # | ||
###################### | ||
*.log | ||
*.sql | ||
#*.sql | ||
*.sqlite | ||
|
||
# Latex help files # | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
function update -d "Update all tools and applications om MacOS" | ||
if nc -z google.com 80 >/dev/null 2>&1 | ||
echo "π Updating System (root)" | ||
sudo softwareupdate --install -all | ||
echo \n | ||
|
||
echo "π Updating Brew" | ||
brew update | ||
brew upgrade | ||
brew cleanup | ||
brew cask cleanup | ||
brew prune | ||
echo \n | ||
|
||
echo "π Updating Fisher" | ||
fisher up | ||
echo \n | ||
|
||
echo "π Updating Python" | ||
pip3 list --outdated --local | awk '{print $1;}' | xargs -n1 pip3 install -U | ||
pip2 list --outdated --local | awk '{print $1;}' | xargs -n1 pip2 install -U | ||
echo \n | ||
|
||
echo "π Updating Vim" | ||
nvim +PlugUpgrade +PlugUpdate +qall | ||
echo \n | ||
|
||
echo "π Updating Ruby Gems" | ||
gem update | ||
echo \n | ||
|
||
echo "π Updating TLDR" | ||
tldr --update | ||
echo \n | ||
|
||
echo "π Updating Yarn" | ||
yarn global upgrade | ||
echo \n | ||
|
||
echo "π Updating Fish Completions" | ||
fish_update_completions | ||
echo \n | ||
|
||
echo "Succes! You are fully up to date now. π " | ||
else | ||
echo "You are currently not connected to the internet. Try again later." | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters