summaryrefslogtreecommitdiff
path: root/install-fish.sh
blob: 73d4d3e82b6fd991abb1a768402defdc7c3c68f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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."