You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.2 KiB
Bash
48 lines
1.2 KiB
Bash
#!/usr/bin/env bash
|
|
# install xcode and other software from the app store
|
|
# everything neccessary first - command line tools
|
|
xcode-select --install
|
|
sudo xcodebuild -license
|
|
sudo scutil --set ComputerName "mausohr"
|
|
sudo scutil --set LocalHostName "mausohr"
|
|
sudo scutil --set HostName "mausohr"
|
|
|
|
# still needed?!
|
|
# sudo softwareupdate --install-rosetta
|
|
|
|
# deactivate long vowel-press-to-accent-entry and show all files in finder
|
|
defaults write -g ApplePressAndHoldEnabled -bool false
|
|
defaults write com.apple.Finder AppleShowAllFiles -bool true
|
|
|
|
# install homebrew
|
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
brew doctor
|
|
|
|
# brew paths
|
|
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
|
|
|
|
# basics
|
|
brew install curl
|
|
brew install git
|
|
brew install openssl
|
|
brew install zsh
|
|
|
|
# basic config symlinks
|
|
mkdir ~/.config
|
|
cd ~/dotfiles
|
|
ln -s ~/dotfiles/wezterm.lua ~/.wezterm.lua
|
|
ln -s ~/dotfiles/gitconfig ~/.gitconfig
|
|
ln -s ~/dotfiles/gitignore ~/.gitignore
|
|
ln -s ~/dotfiles/zsh ~/.zsh
|
|
ln -s ~/dotfiles/zsh/zshrc ~/.zshrc
|
|
|
|
# homebrew zsh as default
|
|
sudo vim /etc/shells
|
|
chsh -s /opt/homebrew/bin/zsh
|
|
/usr/bin/env zsh
|
|
sudo launchctl config user path $PATH
|
|
|
|
autoload -Uz compinit
|
|
compinit
|
|
# now restart your terminal and proceed...
|