summaryrefslogtreecommitdiff
path: root/install-fish.sh
blob: 5ca8901e65e67c192c488ce3482377f2f87b3e73 (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 foostore 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 foostore completion..."
cp completions/foostore.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."