Skip to content

Instantly share code, notes, and snippets.

@brandonsheppard
Last active May 17, 2026 16:41
Show Gist options
  • Select an option

  • Save brandonsheppard/23465f993222aeb97a63e2a1871a5120 to your computer and use it in GitHub Desktop.

Select an option

Save brandonsheppard/23465f993222aeb97a63e2a1871a5120 to your computer and use it in GitHub Desktop.
Ghostty config
# Typeface
font-family = FiraCode Nerd Font Mono
font-style = Retina
font-feature = calt
font-size = 16
adjust-cell-height = 18%
# Colors
theme = light:/Users/brandonsheppard/Library/Application Support/com.mitchellh.ghostty/themes/os-light,dark:/Users/brandonsheppard/Library/Application Support/com.mitchellh.ghostty/themes/os-dark
background-opacity = 0.9
background-blur = macos-glass-regular
unfocused-split-opacity = 1
# Window spacing
window-padding-x = 24
window-padding-y = 24
working-directory = ~/Projects
# macOS-style text navigation
keybind = cmd+left=text:\x01
keybind = cmd+right=text:\x05
keybind = alt+left=esc:b
keybind = alt+right=esc:f
background = 000000
foreground = FFFFFF
background = FFFFFF
foreground = 000000

Recreate My Custom zsh Setup

Set the prompt name to don, while keeping the current directory and prompt symbol visible:

PROMPT='%F{#5C6CFF}don %~ %#%f '

Use a brighter blue prompt color that stays readable on a black terminal background:

# Prompt color used above: #5C6CFF
PROMPT='%F{#5C6CFF}don %~ %#%f '

Add a blank line before each new prompt for more visual separation between commands:

precmd() {
    print
}

Automatically run ls when opening a fresh interactive shell in ~/Projects:

if [[ -o interactive && "$PWD" == "$HOME/Projects" ]]; then
    ls
fi

Keep ~/.local/bin on the shell path:

export PATH="$PATH:$HOME/.local/bin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment