This repo includes a shell script for executing the bulk of the configuration I follow to set up my Mac's development environment to get me up-to-speed with the tools et al. so I can more quickly get back to coding.
File | Description |
---|---|
setup-brew.zsh |
Install some of the core tools I use. |
setup-sdk.zsh |
Install core tools for Java I use. |
setup-macos.zsh |
Configure macOS and the Terminal to be smarter. |
setup-symlink.zsh |
Create sim links for ~/.dotfiles/* . |
.zshrc |
Customizes the default shell to be smarter. |
.gh |
Global GitHub CLI configuration to specify shortcuts and helper functions. |
.gitconfig |
Global Git configuration to specify my name and email, shortcuts, colors, and more. |
.gitignore |
Global ignores from @github/gitignore that I use everywhere. |
.npmrc |
Default configurations for Node Package Management tools like npm , yarn , pnpm etc. |
.nvmrc |
Default configurations for Node Version Manager. |
.sql-server |
Configure Azure SQL to run locally for my .NET Database Projects. |
WARNING
‼️ Make sure you know what you are doing and use at your own risk!
-
First, run
xcode-select --install
to enable Command Line Tools. -
Next, run
softwareupdate --install-rosetta
enable Rosetta 2. -
Then, install Oh My Zsh.
-
And, download and install Homebrew (or
brew
) and follow the post-installation instructions. -
Next, clone this repo into the hidden
.dotfiles
directory. Homebrew should installgit
, so we should be fine.git clone https://github.com/kosperera/dotfiles ~/.dotfiles
-
Configure macOS and the Terminal.app to be smarter.
source ~/.dotfiles/setup-macos.zsh
-
Create (or recreate) symlinks for .dotfiles.
source ~/.dotfiles/setup-symlinks.zsh
-
Then, update, upgrade, and install core tools and the stuff via
brew
.source ~/.dotfiles/setup-brew.zsh
-
Next, install core tools for Java and the stuff via
sdk
.source ~/.dotfiles/setup-sdk.zsh
SDKMAN install script tweaks our
.zshrc
file but thoseexport
commands are already done in the.zsh_exports
, so we can disregard those changes. -
Import Terminal.app Night Owl theme from @lysyi3m/macos-terminal-themes.
-
Download Microsoft 365 with OneDrive from Microsoft site.
-
Download Typora.app Notion Dark Enhanced theme from @adrian-fuertes/notion-themes.
-
Sign in to VS Code and sync settings, profiles, extensions et al.
-
Sign in to IntelliJ IDEA and sync settings, profiles, et al.
-
Sign in to Docker Desktop and install Docker Extensions.
-
Sing in to
gh
.gh auth login # What account do you want to log into? GitHub.com # What is your preferred protocol for Git operations on this host? HTTPS # Authenticate Git with your GitHub credentials? Yes # How would you like to authenticate GitHub CLI? Login with a web browser
doc
is the alias fordocker
anddc
is the alias fordocker compose
.sql
is the alias for a dead simple SQL Server running on docker. Trysql h
to show the list of supported commands.gh a
andgit a
are aliases to list all their aliases.serve
is a short hand command to run a dead simple web server from the current folder. Tryserve 4321
to see it in action.yolo
is to upgrade Every Thuckin' Thing!.
Yep, it works on my machine and hopefully it does on your's as well but please don't hate me if it doesn't.
Many of the customizations are taken from:
Copyright ©️ 2020 It's actually me (@kosalanuwan). All rights reserved.
The source code is licensed under the MIT license.