mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
config(fish): add fish completions for cli tools
This commit is contained in:
1 parent
b1fb6ee6fb
commit
7db95c2076
48 files changed
+2241
No files matched your search
@@ -0,0 +1,46 @@
|
||||
# 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)
|
||||
set -gx GHQ_ROOT $HOME/Developer
|
||||
set -gx CODE_ROOT $HOME/Developer
|
||||
|
||||
# Git hosts (non-secret; tokens are in secrets.fish)
|
||||
set -gx GITEA_LOGIN code.sonr.org
|
||||
set -gx GITLAB_HOST git.sonr.org
|
||||
|
||||
set -gx BROWSER /usr/bin/brave-origin-nightly
|
||||
set -gx CHROME_EXECUTABLE /usr/bin/chromium
|
||||
# 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
|
||||
"
|
||||
Reference in new issue
Block a user