- Remove all unnacessary/not often used apps
Open System Settings...
under Apple's icon and make the following changes:
- Desktop & Dock
- Dock
- Resize dock
- Minimize windows into application icon :
uncheck
- Show indicators for open applications :
check
- Show suggestede and recent apps in Dock :
uncheck
- Widgets
- Show Widgets
- On Desktop :
uncheck
- On Desktop :
- Show Widgets
- Dock
- Keyboard
- Key repeat rate :
set to fastest value
- Delay until repeat :
set to shortest value
- Key repeat rate :
- Trackpag
- Point & Click
- Secondary click :
Click in Bottom Right Corder
- Secondary click :
- Scroll & Zoom
- Natural scrolling:
uncheck
- Natural scrolling:
- Point & Click
Open Finder
in your docking station and make the following changes:
- Settings
- General
- Show these items on the Desktop :
uncheck everything
- New Finder windows show :
select home folder
- Open folders in tabs instead of new windows :
check
- Show these items on the Desktop :
- Tags :
uncheck everything
- Sidebar
uncheck folders you don't want to show
drag home folder to the top of the list (using finder window)
- Advanced
- Show all filename extentions :
check
- Show warning before changing an extension :
uncheck
- Show all filename extentions :
- General
- View
- Set
as List
- Toggle
Show Status Bar
- Toggle
Show Path Bar
- Set
Install and set Google Chrome
as the default browser.
Install homebrew
by following the steps at brew.sh.
Install iterm2
terminal.
brew install --cask iterm2
Install font dependency.
brew search nerd-font
brew search nerd-font | grep caskaydia
brew install font-caskaydia-cove-nerd-font
Set Window arrangement when opening terminal:
- Open "Window" on very top bar
- click on "Save window arrangement"
- open "Arrangements" in iterm profile
- choose arrangement you have just saved
- instructions below will show how to use this setting
Make the following settings changes:
- Settings
- General
- Startup
- Window restoration policy :
Open Default Window Arrangement
- Uncheck everything else
- Window restoration policy :
- Closing
- Quit when all windows are closed :
check
- Uncheck everything else
- Quit when all windows are closed :
- Startup
- Appearance
- General
- Theme :
Minimal
- Theme :
- Windows
- Hide scrollbars :
check
- Show line under title bar when the tab bar is not visible :
check
- Uncheck everything else
- Hide scrollbars :
- Tabs
- Show tab bar even when there is only one tab :
check
- Show tab numbers :
uncheck
- Stretch tabs to fill bar :
uncheck
- Show tab bar even when there is only one tab :
- General
- Profiles
- General
- Window Directory :
Reuse previous session's directory
- Window Directory :
- Colors
- Use different colors for light mode and dark mode :
uncheck
- Color Presets
- Download
cyberdream.itermcolors
file from this repo and set/import as your color theme
- Download
- Minimum Contrast
- If planning on using transparent background, might need to play with this value i.e.
50
- If planning on using transparent background, might need to play with this value i.e.
- Use different colors for light mode and dark mode :
- Text
- Font :
CaskaydiaCove Nerd Font Mono
- Font weight :
Regular
- Font size:
17
- Line height (n/n) :
127
- Font :
- Window
- Add background image
- Blending :
20 (play with value based on backgound image)
- Use transparency :
check
- Terminal
- Show mark indicators :
uncheck
- Show mark indicators :
- Keys
- Key Mappings
- Presets... :
Natural text editing
- This allows to jump words in cli using
CMD
- You can still go to next/prev tab using
CMD + Shift + [
- This allows to jump words in cli using
- Presets... :
- Key Mappings
- General
- General
Prevent login message every time you open a terminal by creating a .hushlogin
file at your home dir:
touch ~/.hushlogin
Install plugins.
brew install zsh-syntax-highlighting
brew install zsh-autosuggestions
Activate plugins by adding the following to ~/.zshrc
file:
# Activate syntax-highlighting.
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Active autosuggestions.
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
-
Install
ohmyzsh
by following the steps at ohmyzsh. -
Create the following file theme under
~/.oh-my-zsh/themes/dylan.zsh-theme
file:
ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$fg[magenta]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}!"
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[green]%}?"
ZSH_THEME_GIT_PROMPT_CLEAN=""
PROMPT='
%{$fg[green]%}%~%{$reset_color%}$(git_prompt_info) %{$reset_color%}
$ '%
- Set the following lines in your
~/.zshrc
file:
# Set name of the theme to load.
ZSH_THEME="dylan"
- Source file
source ~/.zshrc
.
- Instal
git
cli.
brew install git
- Set configs.
git config --global user.name "John Doe"
git config --global user.email "[email protected]"
- Setup SSH keys.
# https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
ssh-keygen -t ed25519 -C "[email protected]"
eval "$(ssh-agent -s)"
chmod 600 __PUBLIC_KEY__
- Add the following content to your
~/.ssh/config
file:
touch ~/.ssh/config
Host github.com
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519
- Add ssh key to use apple keychain.
ssh-add --apple-use-keychain ~/.ssh/id_ed25519
- Add public SSH key to Github by following steps in adding-a-new-ssh-key-to-your-github-account.
pbcopy < ~/.ssh/id_ed25519.pub
NOTE if you get a prompt for username
and password
when running git
commands, don't enter your password, but the token you have created some time in the past. Otherwise, create a new token.
Install vscode
text editor.
brew install --cask visual-studio-code
Add code
command to your path by clicking Cmd + Shift + p
and type shell command: install code command to path
.
Set the minimal settings.
{
"editor.fontSize": 16,
"editor.lineHeight": 1.7,
"editor.fontFamily": "'CaskaydiaCove Nerd Font', Menlo, Monaco, 'Courier New', monospace",
}
Check docs at nvm for installation steps.
Helpful commands.
# Install node latest version
nvm install __VERSION__
# Check node install
node -v
# Check npm install
npm -v
# If needing to upgrade npm, run latest
npm install -g npm
Follow steps at go.dev.