diff options
| author | Paul Buetow <paul@buetow.org> | 2025-11-01 23:12:20 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-11-01 23:12:20 +0200 |
| commit | c87e2837112c064da8528d38727dd7cad7acaa32 (patch) | |
| tree | 51612e1a43e6f6f73ea168d74285b5dfc4b74a53 /install-fish.sh | |
| parent | 28ccc70feeab8aef7bcafaea75e288e6e58c2034 (diff) | |
Add fish shell integration with dynamic command completion (v0.2.0)v0.2.0
Amp-Thread-ID: https://ampcode.com/threads/T-9aec59d6-cd27-4607-ac11-baac5f2ca758
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'install-fish.sh')
| -rwxr-xr-x | install-fish.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/install-fish.sh b/install-fish.sh new file mode 100755 index 0000000..73d4d3e --- /dev/null +++ b/install-fish.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash + +set -e + +echo "Installing geheim fish shell integration..." + +# Create directories if they don't exist +mkdir -p ~/.config/fish/completions +mkdir -p ~/.config/fish/functions + +# Copy completion files +echo "Installing geheim completion..." +cp completions/geheim.fish ~/.config/fish/completions/ + +echo "Installing ge wrapper function..." +cp completions/ge.fish ~/.config/fish/functions/ + +echo "" +echo "✓ Fish integration installed successfully!" +echo "" +echo "Reload your fish shell with: exec fish" +echo "" +echo "See FISH_INTEGRATION.md for usage instructions." |
