My ever-so-handy dotfiles
- Open up Terminal
- Install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Tap into
cask
viabrew tap homebrew/cask-cask && brew tap homebrew/cask-fonts
- Brew 'em up!
brew install git gh deno node yarn go kubectl ngrok jq
brew install --cask fliqlo visual-studio-code 1password zed brave-browser kap rectangle spotify slack docker discord google-cloud-sdk font-fira-code cron obsidian steam figma blender warp tableplus orbstack maccy
mkdir -p ~/code/personal && mkdir ~/code/kanban && mkdir ~/notes
gh auth login
> HTTPS- Create basic code directories & clone this repo
cd code && gh repo clone andreasvirkus/dotfiles && cd dotfiles
cd ~/notes && gh repo clone andreasvirkus/notes
- Symlink config files
ln -s ~/code/personal/dotfiles/.bashrc ~/.profile
ln -s ~/code/personal/dotfiles/.aliases ~/.aliases
ln -s ~/code/personal/dotfiles/.vimrc ~/.vimrc
- Configure git
git config --global --add --bool push.autoSetupRemote true
git config --global user.name "andreasvirkus"
git config --global user.email "andreasvirkus@gmail.com"
- Update bash to v5 (skip if fine with zsh)
brew install bash
# Add the new shell to the list of allowed shells
sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells'
# Change to the new shell
chsh -s /usr/local/bin/bash
# And now restart iTerm
- Silence the "Last login" messages of MOTD (
touch ~/.hushlogin
) - Configure VSCode extensions & themes & install Fira code
- Turn on FileVault from
System Preferences > Security & Privacy
- Install 1Password, TabsCount extensions
- Configure Fliqlo
- Create automatic wallpaper change Applescript (
./change-wallpaper.scrpt
) via Automator. Also configure the privacy settings for Automator & Finder; see more https://apple.stackexchange.com/a/276839/254680 - Configure Rectangle
- Keyboard
- Disable spelling corrections, etc. in
System Preferences > Keyboard > Text
- Add
Estonian
as a keyboard layout - Remap Caps Lock to Ctrl
- Disable spelling corrections, etc. in
- Display
- Set external display as primary by dragging the white bar ontop of the native display in
Arrangements
panel (I know you always forget) - Disable auto-dimming of displays
- Set external display as primary by dragging the white bar ontop of the native display in
- Set default view settings in Finder via
Cmd+J
(list, sort by name, etc.) - Add
Cmd + .
asApp shortcuts
for the commandLock Screen
inSystem Preferences > Keyboard > Shortcuts
(details) - Configure Dock (do not display recently opened applications + auto-hide)
- Make menu-bar auto-hide
- Configure Screenshots via the options menu by accessing it with
Cmd + Shift + 5
(disable the floating thumbnail and set~/Pictures/screenshots
as the destination folder) - Run
echo 'source "$HOME/.bashrc"' >> ~/.bash_profile
sotmux
would also source.bashrc
- Disable "auto-organize workspaces" from
System Preferences > Mission Control
- Disable most of Spotlight's search categories (remember to
touch /Applications/Xcode.app
to see theDeveloper
checkbox)