Skip to content

tabrezm/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Minimal dotfiles and more. Nothing here has been tested on anything other than my own environment.

  • macOS Sonoma 14.3.1
  • Zsh + Oh My Zsh
  • Visual Studio Code

General

This section contains assets useful for multiple apps.

Clone repo

$ mkdir ~/Code
$ cd ~/Code
$ git clone https://github.com/tabrezm/dotfiles.git

SFMono Nerd Font Complete

Patched version of the SF Mono font by Apple with all available glyphs from Nerd Fonts.

  1. Locate the fonts here.
  2. Double-click each file and click "Install Font" in the dialog.

macOS dock settings

defaults write com.apple.dock tilesize -int 48
defaults write com.apple.dock size-immutable -bool true
defaults write com.apple.dock orientation -string left
defaults write com.apple.dock minimize-to-application -bool true
defaults write com.apple.dock show-process-indicators -bool false
killall Dock

macOS Terminal

The GitHub Dark Dimmed theme is a port of the corresponding VS Code theme.

  1. Install the SFMono Nerd Fonts.
  2. Locate the theme here.
  3. Double-click the file to import it.
  4. Go to Terminal >> Preferences >> Profiles. Select the theme and click "Default'.
  5. Enable Control+/ in macOS Terminal app (logout and login required):
mkdir -p ~/Library/KeyBindings && echo '{\n    "^/" = "noop:";\n}' > ~/Library/KeyBindings/DefaultKeyBinding.dict

A Dracula theme that follows the official spec is also available here. The "official" one does not. If you decide to use it, also change ZSH_COLORIZE_STYLE to "dracula" and BAT_THEME to "Dracula" in ~/.zshrc.

Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install bat eza fd fzf micro superfile tlrc

Zsh + Oh My Zsh

  1. Create symlinks:
$ ln -s ~/Code/dotfiles/zsh/.zprofile ~/.zprofile
$ ln -s ~/Code/dotfiles/zsh/.zshrc ~/.zshrc
$ ln -s ~/Code/dotfiles/ohmyzsh ~/.oh-my-zsh
$ ln -s ~/Code/dotfiles/fd/.fdignore ~/.fdignore
  1. Restart your terminal.

SDKMAN

curl -s "https://get.sdkman.io" | bash

Maintenance

Oh My Zsh plugins and themes like zsh-autosuggestions and zsh-syntax-highlighting, are included as git subtrees. Run make sync to update them from upstream.

LaTeX

  1. Install MacTex
brew install mactex-no-gui --cask
  1. Update packages
sudo tlmgr update --self
sudo tlmgr update --all