diff options
| author | 2026-02-25 19:05:36 +0000 | |
|---|---|---|
| committer | 2026-02-25 19:30:46 +0000 | |
| commit | 0c9b91b8b21b817a9e12e409658bca505f02ecb2 (patch) | |
| tree | 85ce1d24a8f8b0b890d9dd35e959d1f820043cbb /fish | |
| parent | 37675a175b976f650522dbf2c1e84f48cb35f938 (diff) | |
pequeno ajuste pra evitar a saída do `command`
Diffstat (limited to 'fish')
| -rw-r--r-- | fish/functions/nvim.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fish/functions/nvim.fish b/fish/functions/nvim.fish index 6fb1cb8..6321439 100644 --- a/fish/functions/nvim.fish +++ b/fish/functions/nvim.fish @@ -1,12 +1,12 @@ function nvim --description 'open a new nvim instance or connect to an existing one using nvr(1)' # if `nvr` is not installed, nevermind. just run `nvim` - if ! command -v nvr + if ! command -v nvr >/dev/null command nvim $argv end if test ! -S /tmp/nvimsocket command nvim --listen /tmp/nvimsocket $argv else - command nvr $argv + command nvr -s $argv end end |
