summaryrefslogtreecommitdiff
path: root/completions/ge.fish
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-22 20:50:32 +0200
committerPaul Buetow <paul@buetow.org>2026-02-22 20:50:32 +0200
commit7de95e396d729895a7e1e27c1155c9d365fab41c (patch)
tree67e0212e4aa6e641b84185b7f4ddb57d602e0864 /completions/ge.fish
parent3373b7e90c4e1ff1abcebe0594316131f546dfa8 (diff)
Fix fish shell integration after binary rename to foostore (v0.4.0)v0.4.0
- Rename completions/geheim.fish → completions/foostore.fish - Update all geheim references to foostore in ge.fish, install-fish.sh, FISH_INTEGRATION.md - Add fish shell integration section to README - Fix stale comment in internal/version/version.go Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'completions/ge.fish')
-rw-r--r--completions/ge.fish22
1 files changed, 11 insertions, 11 deletions
diff --git a/completions/ge.fish b/completions/ge.fish
index 8a1206a..ae723b1 100644
--- a/completions/ge.fish
+++ b/completions/ge.fish
@@ -1,35 +1,35 @@
-# Fish wrapper and completion for ge (geheim shortcut)
+# Fish wrapper and completion for ge (foostore shortcut)
# Install to ~/.config/fish/functions/ge.fish
-function ge --description 'Geheim wrapper with shortcuts'
+function ge --description 'foostore wrapper with shortcuts'
# If no arguments, run interactive mode
if test (count $argv) -eq 0
- geheim shell
+ foostore shell
return $status
end
set -l cmd $argv[1]
-
+
# Check if first argument is a known command
- if contains $cmd (geheim commands 2>/dev/null)
- # It's a command, pass through to geheim
- geheim $argv
+ if contains $cmd (foostore commands 2>/dev/null)
+ # It's a command, pass through to foostore
+ foostore $argv
else
# Not a command, treat as search term
- geheim search $argv
+ foostore search $argv
end
end
-# Dynamically load commands from geheim
+# Dynamically load commands from foostore
function __fish_ge_commands
- geheim commands 2>/dev/null
+ foostore commands 2>/dev/null
end
# Get list of entries for completion
function __fish_ge_entries
# Only run if PIN is set to avoid interactive prompt
if set -q PIN
- geheim ls 2>/dev/null | string replace -r ';.*$' '' | string trim
+ foostore ls 2>/dev/null | string replace -r ';.*$' '' | string trim
end
end