feat: harden terminal abbreviations, gracefully fallback missing integrations, and check deps #5

Merged
rootiest merged 3 commits from feat/deps-fallbacks into main 2026-05-01 01:18:20 +00:00
Owner

Description

This PR introduces robust dependency checking, gracefully handles missing integrations, and securely targets terminal-specific integrations (e.g., Kitty and WezTerm) to prevent execution errors when running in unsupported environments.

Changes

  • Wrapped direnv, zoxide, wakatime, and tailscale integrations in dependency checks to gracefully fallback when missing.
  • Created check_fish_deps function to list and verify all required, recommended, and integration dependencies with color-coded NerdFont icons.
  • Wrapped Kitty-specific abbreviations and functions (split, spwin, rg, clone, clonet) in $TERM checks, with graceful fallbacks (e.g., standard rg).
  • Resurrected WezTerm abbreviations and safely wrapped them in $TERM_PROGRAM checks.
  • Updated README.md to note integration fallback behaviors and updated the Dependencies section to document terminal requirements.
## Description This PR introduces robust dependency checking, gracefully handles missing integrations, and securely targets terminal-specific integrations (e.g., Kitty and WezTerm) to prevent execution errors when running in unsupported environments. ### Changes - Wrapped `direnv`, `zoxide`, `wakatime`, and `tailscale` integrations in dependency checks to gracefully fallback when missing. - Created `check_fish_deps` function to list and verify all required, recommended, and integration dependencies with color-coded NerdFont icons. - Wrapped Kitty-specific abbreviations and functions (`split`, `spwin`, `rg`, `clone`, `clonet`) in `$TERM` checks, with graceful fallbacks (e.g., standard `rg`). - Resurrected WezTerm abbreviations and safely wrapped them in `$TERM_PROGRAM` checks. - Updated `README.md` to note integration fallback behaviors and updated the **Dependencies** section to document terminal requirements.
rootiest added 3 commits 2026-05-01 01:17:53 +00:00
- A bootstrap script in the config.fish file handles automatic
installation of fisher and the included plugins upon launching the shell
for the first time
If a dependency for an integration is missing, fallback gracefully so as
not to interrupt user experience
- Wrap Kitty-specific abbreviations and functions with $TERM checks

- Resurrect WezTerm abbreviations and wrap with $TERM_PROGRAM checks

- Add check_fish_deps function to list and verify all fish-related dependencies

- Update README to recommend Kitty and WezTerm and document requirements

- Improve fallback behavior for rg outside of Kitty
rootiest merged commit 0a89346a6c into main 2026-05-01 01:18:20 +00:00
rootiest deleted branch feat/deps-fallbacks 2026-05-01 01:18:20 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rootiest/fish-config#5