Skip to content
tpbnickPublic

About

my dotfiles and other dev related stuff

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

My dotfiles and dev environment setup, kept synced across Linux (Debian / Ubuntu) and macOS.

Repository Structure

.
├── ghostty/
│   └── config            # Shared Ghostty terminal config
├── linux/
│   ├── .zshrc            # Zsh config (Zinit + Starship + Zoxide + Fzf)
│   └── packages.txt      # Debian / Ubuntu apt package list
├── macos/
│   ├── .zshrc            # Zsh config (synced with linux/.zshrc)
│   ├── .zprofile         # Homebrew & OrbStack login shell environment
│   ├── Brewfile          # Homebrew formulae & casks
│   └── defaults.sh       # macOS system preferences
├── vscode/
│   ├── README.md         # VSCode setup instructions
│   ├── extensions.txt    # VSCode extensions list
│   └── settings.json     # VSCode user settings
├── .gitconfig            # Shared Git configuration
└── install.sh            # Cross-platform symlink installer (Linux & macOS)

Table of Contents


Linux

Targeted at Debian / Ubuntu (apt) with universal installers for tools that ship newer versions upstream.

Linux Packages

Install base packages from linux/packages.txt:

sudo apt update && sudo apt upgrade -y
grep -vE '^\s*(#|$)' linux/packages.txt | xargs sudo apt install -y

Install tools not packaged (or older) in default apt repos:

# Starship prompt
curl -sS https://starship.rs/install.sh | sh

# Bun
curl -fsSL https://bun.sh/install | bash

# Rust / Cargo
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# uv (Python package manager)
curl -LsSf https://astral.sh/uv/install.sh | sh

# eza (modern ls) & yt-dlp (via cargo / pipx)
cargo install eza
pipx install yt-dlp

Note: On older Debian/Ubuntu releases, apt's fzf may be older than 0.48 (before fzf --zsh was added). linux/.zshrc automatically falls back to /usr/share/doc/fzf/examples/key-bindings.zsh, or you can install the latest fzf from GitHub releases.

Linux Shell Setup

Uses Zsh with Zinit, Starship, Zoxide, and Fzf (no separate Oh My Zsh install needed — Zinit pulls only the OMZ snippets used) — synced with the macOS setup.

  1. Set Zsh as the default shell:
    chsh -s "$(which zsh)"
  2. Symlink configs with install.sh (backs up any existing files automatically):
    ./install.sh
    # Or also install VSCode extensions:
    ./install.sh --vscode
  3. Reload Zsh (Zinit automatically bootstraps itself and installs plugins on first launch):
    exec zsh

Included Zinit plugins & snippets:

  • zsh-users/zsh-completions
  • Aloxaf/fzf-tab
  • zsh-users/zsh-autosuggestions
  • zsh-users/zsh-syntax-highlighting
  • zsh-users/zsh-history-substring-search
  • OMZL::git.zsh, OMZP::git, OMZP::sudo, OMZP::command-not-found

Linux Fonts

Install Nerd Fonts (Hack and SpaceMono):

mkdir -p ~/.local/share/fonts
# Download Hack and SpaceMono from https://www.nerdfonts.com/font-downloads, unzip into ~/.local/share/fonts, then:
fc-cache -fv

Linux Applications

Applications

Web Browsers

Browser Extensions
  • AdGuard
  • Bitwarden
  • DarkReader
  • Base64 Decoder
  • Decentraleyes
  • Google Analytics Opt-Out
  • I still don't care about cookies
  • uBlock Origin Lite
  • Don't Track Me Google
  • Enhancer for YouTube
  • Humble New Tab Page
  • Modern for Wikipedia
  • Return YouTube Dislike
  • SponsorBlock

Text Editors, IDEs & Terminals

Reading & Note-Taking

Media & Communication

Network, Security & Remote

Containers, Cloud & Utilities

Terminal & Shell

Linux Git and VSCode

# Git config
ln -sf "$PWD/.gitconfig" ~/.gitconfig

# VSCode extensions & settings
cat vscode/extensions.txt | xargs -L1 code --install-extension
mkdir -p ~/.config/Code/User
cp vscode/settings.json ~/.config/Code/User/settings.json

macOS

Managed with Homebrew (macos/Brewfile) and kept synced with the Linux setup.

macOS Packages

  1. Install Homebrew:
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2. Install all CLI tools, fonts, and apps from macos/Brewfile:
    brew bundle --file=macos/Brewfile
  3. Install Bun (managed outside Homebrew to match ~/.zshrc):
    curl -fsSL https://bun.sh/install | bash

macOS Shell Setup

Uses Ghostty + Zsh with Zinit, Starship, Zoxide, and Fzf (no separate Oh My Zsh install needed — Zinit pulls only the OMZ snippets used) — synced with the Linux setup.

  1. Symlink configs with install.sh (backs up any existing files automatically):
    ./install.sh
    # Or also apply macOS defaults and install VSCode extensions:
    ./install.sh --defaults --vscode
  2. Reload Zsh (Zinit automatically bootstraps itself and installs plugins on first launch):
    exec zsh

Included Zinit plugins & snippets:

  • zsh-users/zsh-completions
  • Aloxaf/fzf-tab
  • zsh-users/zsh-autosuggestions
  • zsh-users/zsh-syntax-highlighting
  • zsh-users/zsh-history-substring-search
  • OMZL::git.zsh, OMZP::git, OMZP::sudo, OMZP::command-not-found

macOS System Defaults

Apply your saved macOS preferences (Dark Mode, Dock auto-hide & hover delay, Finder list view / path bar / status bar / folders first, tap-to-click, non-natural scrolling, no .DS_Store on network/USB volumes):

./macos/defaults.sh

macOS Fonts

font-hack-nerd-font is installed automatically via macos/Brewfile (used by Ghostty and VSCode). You can also install SpaceMono Nerd Font:

brew install --cask font-space-mono-nerd-font

macOS Applications

Applications

Web Browsers

Browser Extensions
  • AdGuard
  • Bitwarden
  • DarkReader
  • Base64 Decoder
  • Decentraleyes
  • Google Analytics Opt-Out
  • I still don't care about cookies
  • uBlock Origin Lite
  • Don't Track Me Google
  • Enhancer for YouTube
  • Humble New Tab Page
  • Modern for Wikipedia
  • Return YouTube Dislike
  • SponsorBlock

Text Editors, IDEs & Terminals

Reading & Note-Taking

Media & Communication

Network, Security & Remote

Containers, Cloud & macOS Utilities

Terminal & Shell

macOS Git and VSCode

# Git config
ln -sf "$PWD/.gitconfig" ~/.gitconfig

# VSCode extensions & settings
cat vscode/extensions.txt | xargs -L1 code --install-extension
mkdir -p "$HOME/Library/Application Support/Code/User"
cp vscode/settings.json "$HOME/Library/Application Support/Code/User/settings.json"

About

my dotfiles and other dev related stuff

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages