No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-02 22:09:58 +08:00
conf.d chore: initial fish config collection 2026-12-02 22:09:21 +08:00
functions chore: initial fish config collection 2026-12-02 22:09:21 +08:00
scripts chore: initial fish config collection 2026-12-02 22:09:21 +08:00
.gitignore chore: initial fish config collection 2026-12-02 22:09:21 +08:00
config.fish chore: format 2026-12-02 22:09:58 +08:00
fish_plugins chore: initial fish config collection 2026-12-02 22:09:21 +08:00
install.sh chore: initial fish config collection 2026-12-02 22:09:21 +08:00
README.md chore: initial fish config collection 2026-12-02 22:09:21 +08:00

fish-config

Personal Fish shell configuration collected from ~/.config/fish.

Structure

  • config.fish — Main Fish config (EDITOR=nvim, interactive aliases, vi key bindings, OrbStack shell init).
  • fish_plugins — Fisher plugin manifest (jorgebucaran/fisher, ilancosman/tide@v6).
  • conf.d/env.fish — Custom environment variables extracted from fish_variables.
  • conf.d/zmx_tide.fish — Hook to keep the zmx item in Tide prompt items.
  • functions/_tide_item_zmx.fish — Custom Tide prompt item displaying $ZMX_SESSION.
  • functions/lfcd.fish — lf wrapper that changes directory on exit.
  • scripts/apply-tide-vars.fish — Clean Tide v6 universal variable restoration script (excluding runtime _tide_prompt_* caches).
  • install.sh — Helper script to deploy files to ~/.config/fish.

Restore on a New Machine

  1. Copy (or symlink with --symlink) the config files into ~/.config/fish:
    ./install.sh
    # or: ./install.sh --symlink
    
  2. Install Fisher and plugins listed in fish_plugins:
    curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher update
    
  3. Restore Tide prompt style variables:
    fish ./scripts/apply-tide-vars.fish