Last active
March 14, 2023 10:33
-
-
Save xremix/3cde97ad8ce87e9c5d3809688aff5016 to your computer and use it in GitHub Desktop.
Automated App Install
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
#!/bin/sh | |
## Thanks to https://gist.github.com/tscheckenbach/00f1ae57881b79254f11f1815debd9af | |
echo "Please login to your Apple Account through the Mac App Store" | |
echo "When logged in sucessfully press [ENTER} to continue" | |
read | |
############################################## | |
## Install homebrew and Xcode | |
############################################## | |
# Install homebrew (installs Xcode, too) | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
############################################## | |
## Install brew console tools | |
############################################## | |
binaries=( | |
awscli | |
azure-cli | |
cocoapods | |
docker | |
git | |
mas | |
nvm | |
zsh | |
zsh-completions | |
zsh-syntax-highlighting | |
) | |
echo "installing binaries..." | |
brew install ${binaries[@]} | |
brew cleanup | |
############################################## | |
## Install brew cask apps | |
############################################## | |
apps=( | |
homebrew/cask/clean-me | |
homebrew/cask/appcleaner | |
homebrew/cask/dotnet | |
homebrew/cask/github | |
homebrew/cask/firefox | |
homebrew/cask/google-chrome | |
homebrew/cask/brave-browser | |
homebrew/cask/iterm2 | |
homebrew/cask/warp | |
homebrew/cask/postman | |
homebrew/cask/spotify | |
homebrew/cask/visual-studio-code | |
homebrew/cask/enpass | |
homebrew/cask/bettertouchtool | |
homebrew/cask/amazon-photos | |
homebrew/cask/sf-symbols | |
homebrew/cask/microsoft-office | |
) | |
echo "installing cask apps..." | |
brew install --cask ${apps[@]} | |
brew cleanup | |
############################################## | |
## Install App Store Apps through mas | |
############################################## | |
echo "install App Store apps ..." | |
# Keka | |
mas install 470158793 | |
mas install 1147396723 | |
# DevCleaner | |
mas install 1388020431 | |
# OneNote | |
mas install 784801555 | |
############################################## | |
## Install other tools apps, plugins etc | |
############################################## | |
# OhMyZsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended | |
echo ">>> install Powerlevel9k" | |
############################################## | |
## Settings, etc | |
############################################## | |
# Dock Speed | |
defaults write com.apple.dock autohide-delay -float 0; defaults write com.apple.dock autohide-time-modifier -float 0.6;killall Dock | |
# Git Settings | |
git config --global pull.rebase true | |
git config --global rebase.autoStash true |
VS Code keybindings.json
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "shift+cmd+a",
"command": "editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "shift+cmd+l",
"command": "-editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "shift+cmd+l",
"command": "editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus"
},
{
"key": "shift+alt+i",
"command": "-editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus"
},
{
"key": "cmd+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "ctrl+1",
"command": "-workbench.action.openEditorAtIndex1"
},
{
"key": "cmd+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "ctrl+2",
"command": "-workbench.action.openEditorAtIndex2"
},
{
"key": "cmd+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "ctrl+3",
"command": "-workbench.action.openEditorAtIndex3"
},
{
"key": "cmd+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "ctrl+4",
"command": "-workbench.action.openEditorAtIndex4"
},
{
"key": "cmd+5",
"command": "workbench.action.openEditorAtIndex5"
},
{
"key": "ctrl+5",
"command": "-workbench.action.openEditorAtIndex5"
},
{
"key": "cmd+6",
"command": "workbench.action.openEditorAtIndex6"
},
{
"key": "ctrl+6",
"command": "-workbench.action.openEditorAtIndex6"
},
{
"key": "cmd+7",
"command": "workbench.action.openEditorAtIndex7"
},
{
"key": "ctrl+7",
"command": "-workbench.action.openEditorAtIndex7"
},
{
"key": "cmd+8",
"command": "workbench.action.openEditorAtIndex8"
},
{
"key": "ctrl+8",
"command": "-workbench.action.openEditorAtIndex8"
},
{
"key": "cmd+9",
"command": "workbench.action.openEditorAtIndex9"
},
{
"key": "ctrl+9",
"command": "-workbench.action.openEditorAtIndex9"
},
{
"key": "ctrl+1",
"command": "workbench.action.focusFirstEditorGroup"
},
{
"key": "cmd+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+2 ctrl+",
"command": "workbench.action.focusSecondEditorGroup"
},
{
"key": "cmd+2",
"command": "-workbench.action.focusSecondEditorGroup"
},
{
"key": "ctrl+3",
"command": "workbench.action.focusThirdEditorGroup"
},
{
"key": "cmd+3",
"command": "-workbench.action.focusThirdEditorGroup"
},
{
"key": "ctrl+4",
"command": "workbench.action.focusFourthEditorGroup"
},
{
"key": "cmd+4",
"command": "-workbench.action.focusFourthEditorGroup"
},
{
"key": "ctrl+5",
"command": "workbench.action.focusFifthEditorGroup"
},
{
"key": "cmd+5",
"command": "-workbench.action.focusFifthEditorGroup"
},
{
"key": "ctrl+6",
"command": "workbench.action.focusSixthEditorGroup"
},
{
"key": "cmd+6",
"command": "-workbench.action.focusSixthEditorGroup"
},
{
"key": "ctrl+7",
"command": "workbench.action.focusSeventhEditorGroup"
},
{
"key": "cmd+7",
"command": "-workbench.action.focusSeventhEditorGroup"
},
{
"key": "ctrl+8",
"command": "workbench.action.focusEighthEditorGroup"
},
{
"key": "cmd+8",
"command": "-workbench.action.focusEighthEditorGroup"
}
]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To run this you can run