dotfiles — fish, starship, kitty (GitHub Dark OKLCH), git, claude code, brewfile
For the full content of this gist, refer to https://gist.github.com/jokull/dfec31217055a434a7b4a8de27906042
Jökull Sólberg Auðunsson@jokull
For the full content of this gist, refer to https://gist.github.com/jokull/dfec31217055a434a7b4a8de27906042
[core]
excludesfile = ~/.gitignore
[user]
name = Jökull Sólberg
email = jokull@solberg.is
[init]
defaultBranch = main
[push]
autoSetupRemote = true
default = current
[rerere]
enabled = true
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
.DS_Store
PLAN.md
.sprite
.conductor/
# Taps
tap "dotenvx/brew"
tap "minio/stable"
tap "shopify/shopify"
tap "stripe/stripe-cli"
# Shell & prompt
brew "fish"
brew "starship"
brew "fzf"
brew "tmux"
# Modern CLI
brew "bat"
brew "eza"
brew "fd"
brew "ripgrep"
brew "ast-grep"
brew "jq"
brew "yq"
brew "miller"
brew "tree"
brew "glow"
brew "httpie"
brew "curl"
brew "wget"
# Git
brew "gh"
brew "git-lfs"
brew "lefthook"
# Languages & runtimes
brew "fnm"
brew "go"
brew "rust"
brew "rustup"
brew "python@3.12"
# Database
brew "postgresql@15"
brew "postgis"
brew "duckdb"
# AI / ML
brew "ollama"
brew "llm"
# Media
brew "ffmpeg"
brew "imagemagick"
brew "mpv"
brew "yt-dlp"
# Cloud & infra
brew "awscli"
brew "flyctl"
brew "cloudflared"
brew "firebase-cli"
brew "minio/stable/mc"
brew "dotenvx/brew/dotenvx"
brew "stripe/stripe-cli/stripe"
brew "shopify/shopify/shopify-cli"
# Fonts
cask "font-jetbrains-mono"
cask "font-fira-code"
cask "font-ibm-plex"
cask "font-iosevka"
# Apps
cask "kitty@nightly"
cask "wezterm"
cask "calibre"
cask "inkscape"
# Cargo
cargo "cargo-insta"
cargo "just"
ast-grep is available; whenever a search requires syntax-aware or structural matching, default to ast-grep --lang rust -p '<pattern>' (or set --lang appropriately) and avoid falling back to text-only tools like rg or grep unless I explicitly request a plain-text search.--
Store github forks of project dependencies here. Useful if you want to dig into code or make a quick PR to a project. Anything Trip To Japan or @jokull goes into ~/Code.
When working on code in Trip To Japan everything goes into PR's. I almost never --amend commits, just stack them because it's going to be squashed.
I love using codex review --base main when working on PR's
Upload images to public MinIO storage using mc:
mc cp <file> plex/images/<path>
plex (already configured)images (public read enabled)https://link.plex.uno/images/<path>if status is-interactive
starship init fish | source
end
# pnpm
set -gx PNPM_HOME "/Users/jokull/Library/pnpm"
if not string match -q -- $PNPM_HOME $PATH
set -gx PATH "$PNPM_HOME" $PATH
end
# wasmtime
set -gx WASMTIME_HOME "$HOME/.wasmtime"
string match -r ".wasmtime" "$PATH" > /dev/null; or set -gx PATH "$WASMTIME_HOME/bin" $PATH
# bun
set --export BUN_INSTALL "$HOME/.bun"
set --export PATH $BUN_INSTALL/bin $PATH
function wip
git add -A .
git commit -m 'wip'
git push
end
# OrbStack
source ~/.orbstack/shell/init2.fish 2>/dev/null || :
# Secrets — use `dotenvx` or a fish universal variable for these:
# set -x OPENAI_API_KEY "..."
# set -x MINIO_ACCESS_KEY "..."
# set -x MINIO_SECRET_KEY "..."
# set -x MINIO_ENDPOINT "https://link.plex.uno"
# set -x MINIO_BUCKET "images"
alias trip='COMPOSE_PROJECT_NAME=trip-vstack pnpm dev tunnel'
## name: GitHub Dark Chroma
## author: jokull
# Use Display P3 for wide gamut
macos_colorspace displayp3
# ANSI colors (OKLCH - adjust L/C/H independently)
color0 oklch(0.4247 0.0175 254.7) # Black
color1 oklch(0.7345 0.2360 25.8) # Red
color2 oklch(0.6951 0.2530 145.6) # Green
color3 oklch(0.8300 0.2450 86.0) # Yellow
color4 oklch(0.7153 0.2700 253.3) # Blue
color5 oklch(0.7323 0.2900 301.7) # Magenta
color6 oklch(0.7555 0.2530 202.1) # Cyan
color7 oklch(0.8800 0.0174 250.9) # White
color8 oklch(0.5629 0.0196 256.3) # Bright Black
color9 oklch(0.8014 0.1134 25.8) # Bright Red
color10 oklch(0.7717 0.1880 145.5) # Bright Green
color11 oklch(0.7904 0.1386 85.2) # Bright Yellow
color12 oklch(0.7857 0.1153 246.7) # Bright Blue
color13 oklch(0.8005 0.1275 305.9) # Bright Magenta
color14 oklch(0.8036 0.1107 201.8) # Bright Cyan
color15 oklch(1.0000 0.0000 0.0) # Bright White
# Basic colors (OKLCH - perceptually uniform)
foreground oklch(0.8569 0.0141 248.0)
background oklch(0.1763 0.0140 258.4)
cursor oklch(0.7153 0.1518 253.3)
cursor_text_color background
selection_foreground oklch(0.1763 0.0140 258.4)
selection_background oklch(0.7153 0.1518 253.3)
font_family "JetBrains Mono"
bold_font auto
italic_font auto
bold_italic_font auto
include ~/.config/kitty/github_oklch.conf
# padding
window_padding_width 8
# tabs
tab_bar_edge top
tab_bar_style slant
tab_bar_margin_width 10.0
tab_bar_margin_height 4.0 4.0
macos_titlebar_color background
macos_show_window_title_in none
macos_colorspace displayp3
# ⌘+T opens new tab in same directory
map kitty_mod+t new_tab_with_cwd !neighbor
format = """
$hostname\
$directory\
$git_branch\
$time\
$status\
$shell\
$character"""
[hostname]
ssh_only = false
format = "[$ssh_symbol$hostname]($style) "
ssh_symbol = "ssh ⚡ "
style = "bright-black"
trim_at = "."
[directory]
style = "blue"
[git_branch]
style = "bright-black"