2026-07-16 16:58:06 -04:00
|
|
|
# Environment — non-secret. Secrets live in conf.d/secrets.fish (gitignored).
|
|
|
|
|
set -g fish_greeting
|
|
|
|
|
|
|
|
|
|
# Bottom-pinned prompt toggle (config.fish + functions/clear.fish).
|
|
|
|
|
# 1 = pin prompt to the bottom of the terminal, 0 = default top prompt.
|
|
|
|
|
# Respects an inherited value, so `FISH_BOTTOM_PROMPT=0 fish` opts out.
|
|
|
|
|
set -q FISH_BOTTOM_PROMPT; or set -gx FISH_BOTTOM_PROMPT 0
|
|
|
|
|
|
|
|
|
|
# GPU (ROCm / HIP) — used by ML scripts, so set unconditionally.
|
|
|
|
|
set -gx HSA_OVERRIDE_GFX_VERSION 11.5.0
|
|
|
|
|
set -gx ROCR_VISIBLE_DEVICES 0
|
|
|
|
|
set -gx HIP_VISIBLE_DEVICES 0
|
|
|
|
|
|
|
|
|
|
# Repo roots (ghq)
|
2026-08-24 10:04:22 -05:00
|
|
|
set -gx GHQ_ROOT $HOME/Code
|
|
|
|
|
set -gx CODE_ROOT $HOME/Code
|
2026-07-16 16:58:06 -04:00
|
|
|
|
|
|
|
|
# Git hosts (non-secret; tokens are in secrets.fish)
|
|
|
|
|
set -gx GITEA_LOGIN code.sonr.org
|
|
|
|
|
set -gx GITLAB_HOST git.sonr.org
|
2026-08-13 19:45:39 -04:00
|
|
|
set -gx EDITOR nvim
|
|
|
|
|
set -gx VISUAL nvim
|
2026-07-16 16:58:06 -04:00
|
|
|
|
2026-08-09 14:51:46 -04:00
|
|
|
test -x /usr/bin/brave-origin-nightly; and set -gx BROWSER /usr/bin/brave-origin-nightly
|
|
|
|
|
test -x /usr/bin/chromium; and set -gx CHROME_EXECUTABLE /usr/bin/chromium
|
2026-07-16 16:58:06 -04:00
|
|
|
# Puppeteer / CDP tools — chrome-headless-shell via @puppeteer/browsers,
|
|
|
|
|
# symlinked from ~/.config/chrome-headless-shell/<version>/ into ~/.local/bin.
|
|
|
|
|
# NOTE: omp's browser tool prefers detected system Chrome over this env var;
|
|
|
|
|
# ~/.local/bin/google-chrome-stable shims its first detection candidate to the
|
|
|
|
|
# same binary (and masks the broken /usr/bin/google-chrome wrapper).
|
|
|
|
|
set -gx PUPPETEER_EXECUTABLE_PATH $HOME/.local/bin/chrome-headless-shell
|
|
|
|
|
set -gx ZEAL_DOCSETS $HOME/.var/app/org.zealdocs.Zeal/data/Zeal/Zeal/docsets
|
|
|
|
|
set -gx SHARP_IGNORE_GLOBAL_LIBVIPS 1
|
|
|
|
|
|
|
|
|
|
set -gx FZF_DEFAULT_OPTS "
|
|
|
|
|
--height=~40%
|
|
|
|
|
--layout=default
|
|
|
|
|
--info=inline-right
|
|
|
|
|
--border=rounded
|
|
|
|
|
--prompt=' '
|
|
|
|
|
--pointer='▶'
|
|
|
|
|
--marker='✓'
|
|
|
|
|
--color=fg:#ffffff,fg+:#ffffff,bg:-1,bg+:#3c4048
|
|
|
|
|
--color=hl:#5ef1ff,hl+:#5ef1ff
|
|
|
|
|
--color=info:#7b8496,header:#7b8496,border:#7b8496
|
|
|
|
|
--color=prompt:#5ef1ff,pointer:#ffaecf,marker:#5eff6c,spinner:#f1ff5e
|
|
|
|
|
--color=gutter:-1,query:#ffffff
|
|
|
|
|
"
|