diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-22 16:05:03 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-22 16:05:03 +1000 |
| commit | beabe2683c1aaa70abbb8966dcf7af776970a21e (patch) | |
| tree | 6d2202851bf68683655314c1aa7f8cc168bb6fd6 /completions/caelestia.fish | |
| parent | theme: ignore perm errors for /dev/pts (diff) | |
| download | caelestia-cli-beabe2683c1aaa70abbb8966dcf7af776970a21e.tar.gz caelestia-cli-beabe2683c1aaa70abbb8966dcf7af776970a21e.tar.bz2 caelestia-cli-beabe2683c1aaa70abbb8966dcf7af776970a21e.zip | |
completions: silence when no shell running
Diffstat (limited to 'completions/caelestia.fish')
| -rw-r--r-- | completions/caelestia.fish | 2 |
1 files changed, 1 insertions, 1 deletions
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 |