summaryrefslogtreecommitdiff
path: root/completions/gt.fish
diff options
context:
space:
mode:
Diffstat (limited to 'completions/gt.fish')
-rw-r--r--completions/gt.fish6
1 files changed, 4 insertions, 2 deletions
diff --git a/completions/gt.fish b/completions/gt.fish
index 5ecee57..4f92d30 100644
--- a/completions/gt.fish
+++ b/completions/gt.fish
@@ -26,8 +26,10 @@ end
# ── Flags ────────────────────────────────────────────────────────────────────
-# Suppress fish's default file/path completions so only our custom tokens appear.
-complete -c gt -k
+# Prevent fish from mixing in file/path completions from the current directory.
+# The -f flag tells fish "file completions are handled" and the empty -a means
+# no actual files are offered, so only our custom -a entries appear.
+complete -c gt -f -a ""
complete -c gt -n "__fish_gt_needs_top_level" \
-l log -r -d "Session log file (REPL mode)"