From beabe2683c1aaa70abbb8966dcf7af776970a21e Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 22 Jul 2025 16:05:03 +1000 Subject: completions: silence when no shell running --- completions/caelestia.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'completions') diff --git a/completions/caelestia.fish b/completions/caelestia.fish index b337bba..e55b1e1 100644 --- a/completions/caelestia.fish +++ b/completions/caelestia.fish @@ -58,7 +58,7 @@ set -l not_seen "$seen shell && $seen drawers && not $seen $commands" complete -c caelestia -n $not_seen -a 'list' -d 'List togglable drawers' complete -c caelestia -n $not_seen -a 'toggle' -d 'Toggle a drawer' -set -l commands (caelestia shell drawers list) +set -l commands (caelestia shell drawers list 2> /dev/null) complete -c caelestia -n "$seen shell && $seen drawers && $seen toggle && not $seen $commands" -a "$commands" -d 'drawer' set -l commands list get set -- cgit v1.2.3-freya