Skip to content

aldosch/fish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐟 fish

aldo's fish shell config.

example screenshot

layout

  • config.fish β€” aliases, env vars, path setup, tool init (starship, fnm, direnv)
  • conf.d/ β€” sourced automatically on every shell start
    • aldo-dracula-palette.fish β€” adaptive dracula/alucard colours that follow the macos dark/light setting
    • fish_frozen_theme.fish, fish_frozen_key_bindings.fish β€” fish 4.3 migration files
    • fnm.fish β€” node version manager hook
  • functions/ β€” one function per file (see below)
  • fish_variables β€” universal variables

functions

shortcuts

  • e [path] β€” open nvim (current dir if no arg)
  • c [path] β€” open the editor
  • o [path] β€” open finder
  • t [path] β€” open typora
  • typora [path] β€” same, explicit

git

  • git-status-pretty (aliased gs) β€” coloured, grouped status
  • ga [path] β€” add, then show status + diff
  • gc [msg] β€” commit (opens editor if no msg)
  • gcp [msg] β€” commit and push
  • git β€” wraps git clone: rewrites github https urls to ssh and falls back to https if that fails
  • ggs [dir] β€” global status across every repo in a directory (default ~/dev)
  • pullall [dir] β€” fast-forward every tracked branch across repos, ordered by recent activity (default ~/dev)

system

  • nixx β€” nix-darwin update/build/apply wrapper with drift checking. see the nix repo
  • nixx-drift β€” reports packages installed but not declared (and vice versa) across brew, pnpm and uv
  • skills-restore β€” reinstall agent skills from a lockfile

media

  • yoink <url> (aliased grab) β€” download a site as llm-ready markdown plus its binary assets
  • video-context <file> β€” pull a transcript (whisper) and screenshots out of a video for feeding to an llm
  • fix-audio <file> β€” collapse a one-sided recording to dual mono and loudness-normalise it
  • normalise-audio <file> β€” loudness-normalise audio, keep the video stream
  • watch-unzip <dir> β€” watch a folder and auto-extract zips as they land

text & files

  • bat β€” bat with a theme that follows dark/light mode
  • fif <string> β€” fuzzy find inside files (ripgrep + fzf)
  • pjson β€” format every json file in the current dir
  • proofread β€” proofread clipboard text with a local ollama model
  • hear β€” text-to-speech via elevenlabs

prompt

  • fish_prompt, fish_right_prompt β€” the prompt itself (ssh host, pwd, git state)

install

clone into ~/.config/fish:

git clone git@github.com:aldosch/fish.git ~/.config/fish

some functions expect tools that live in the nix config (gum, eza, ripgrep, fzf, etc.).

About

🐟 aldo's shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages