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
5 changed files with 14 additions and 2 deletions
Showing only changes of commit 8d1ab2eeb9 - Show all commits
+2
View File
@@ -103,6 +103,8 @@ See [FZF Bindings](#fzf-bindings) under Key Bindings for the default FZF shortcu
## Integrations
> **Note:** All integrations listed below are designed to elegantly fallback to basic commands or safely ignore their configuration if their required external dependencies are not installed on the system.
### Zoxide
Smart `cd` replacement. `cd` (or `z`) `<keyword>` jumps to the best frecency match; `cdi` (or `zi`) opens an interactive selector.
+4
View File
@@ -14,6 +14,10 @@
# fish completion for tailscale -*- shell-script -*-
if not type -q tailscale
return
end
function __tailscale_debug
set -l file "$BASH_COMP_DEBUG_FILE"
if test -n "$file"
-1
View File
@@ -29,7 +29,6 @@ function __register_wakatime_fish_before_exec -e fish_postexec
else if type -p ~/.wakatime/wakatime-cli 2>&1 > /dev/null
set wakatime_path (type -p ~/.wakatime/wakatime-cli)
else
echo "wakatime command not found. Please read \"https://wakatime.com/terminal\" and install wakatime."
return 1
end
+5
View File
@@ -1,8 +1,13 @@
# =============================================================================
#
#
# Utility functions for zoxide.
#
if not type -q zoxide
return
end
# pwd based on the value of _ZO_RESOLVE_SYMLINKS.
function __zoxide_pwd
builtin pwd -L
+2
View File
@@ -81,7 +81,9 @@ set -Ux FZF_DEFAULT_OPTS "\
#
# The Auto-Venv script above will ignore directories with a
# .envrc file (direnv configuration) to prevent conflicts.
if type -q direnv
direnv hook fish | source
end
# ────────────────────────────── Auto-Venv ───────────────────────────────
# Auto-activate Python venv on directory change