Skip to content

vitordwb/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

    /\
   /  \
  /----\
  | ++ |
  | ++ |
  |    |
 /|____|\
/_||||||_\
  /_||_\
   /  \
  /____\
    ||
    ||
   /__\
brew install stow
git clone git@github.com:vitordwb/dotfiles.git ~/dotfiles
cd ~/dotfiles

# O comando 'stow' assume que o destino é o diretório PAI (ou seja, ~)

stow tmux
stow nvim
stow git
stow zsh

# Ou, para "instalar" todos de uma vez:
stow */

MacOS Development Environment

macOS Settings

Dock & Mission Control

  • Hide Dock automatically
  • Medium size
  • Genie effect
  • Minimize into application icon: on
  • Show indicators for open apps: on
  • Show recent apps: off
  • Double-click window title: zoom
  • Animate app openings: on

Security

  • FileVault: on

Siri & Spotlight

  • Ask Siri: off

Keyboard

  • Double space = period: off
  • Smart quotes/dashes: off
  • Set " for double, ' for single quotes Keyboard

Finder

  • Create ~/Developer folder (adds icon)
  • Sidebar:
    • Enable all Favorites
    • Add: Library, Developer, Drive, Dropbox
  • Hide all tags
  • Show all filename extensions
  • Auto delete Trash after 30 days Finder Sidebar Tags Filename extensions

Xcode

xcode-select --install

Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Homebrew Casks

brew install
  \ git
  \ colima
  \ neovim
  \ tmux
  \ yarn
  \ borders
brew install --cask 
  insomnia 
  jetbrains-toolbox 
  raycast 
  docker
  iterm2

Git Setup

ln -s $(pwd)/git/gitconfig ~/.gitconfig
git config --global user.name "Your Name"
git config --global user.email "you@your-domain.com"
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"

SSH

ln -s $(pwd)/ssh/config ~/.ssh/config

Terminal & Zsh

Fonts

brew tap homebrew/cask-fonts
brew install font-hack-nerd-font
cp -r "$(pwd)/fonts/"* ~/Library/Fonts

Oh My Zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
ln -s $(pwd)/zsh/zshrc ~/.zshrc

Plugins

git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
git clone https://github.com/mafredri/zsh-async ~/.oh-my-zsh/plugins/async
git clone https://github.com/lukechilds/zsh-nvm ~/.oh-my-zsh/custom/plugins/zsh-nvm
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
ln -s $(pwd)/zsh/p10k ~/.p10k.zsh
git clone https://github.com/g-plane/zsh-yarn-autocompletions ~/.oh-my-zsh/custom/plugins/zsh-yarn-autocompletions

Terminal Configuration

ln -s $(pwd)/bash/bash_alias ~/.bash_alias
ln -s $(pwd)/bash/bash_profile ~/.bash_profile
ln -s $(pwd)/bash/bashrc ~/.bashrc
ln -s $(pwd)/bash/flutter ~/.flutter
ln -s $(pwd)/bash/nvm-load ~/.nvm-load
ln -s $(pwd)/bash/yarn-autocompletions.yml ~/.yarn-autocompletions.yml

Edit .nvm-load to match installed Node version.

Terminal Theme

  1. Terminal > Settings
  2. Gear icon → Import
  3. Select materialshell-dark.terminal
  4. Set as Default

Theme Import Theme Applied

About

Setting up a macOS machine

Resources

Stars

Watchers

Forks