diff options
| author | 2026-04-01 16:50:49 +0000 | |
|---|---|---|
| committer | 2026-05-11 11:43:44 +0000 | |
| commit | d245165264a727d0eb84ec9e37d9ed97174652a8 (patch) | |
| tree | a1b85919b22f19b62ff2a46b86cb455a579b4d59 /fish | |
| parent | 857cf7cbb59e3981240a852659d9a366c5f47350 (diff) | |
fish: pequenos ajustes de mantenabilidade
telescope: atalho pra procurar arquivos no git status
Diffstat (limited to 'fish')
| -rw-r--r-- | fish/functions/bathelp.fish | 2 | ||||
| -rw-r--r-- | fish/functions/nvim.fish | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fish/functions/bathelp.fish b/fish/functions/bathelp.fish index 3f6119a..ca7e227 100644 --- a/fish/functions/bathelp.fish +++ b/fish/functions/bathelp.fish @@ -2,5 +2,5 @@ function bathelp --wraps=bat --description 'bat(1) pra ler comandos de ajuda com if not command --query bat exit 1 end - command $argv[1] --help | bat --plain --language help + command $argv --help | bat --plain --language help end diff --git a/fish/functions/nvim.fish b/fish/functions/nvim.fish index 27b45d8..efbd5e6 100644 --- a/fish/functions/nvim.fish +++ b/fish/functions/nvim.fish @@ -1,6 +1,6 @@ function nvim --wraps 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 -q nvr + if ! command --query nvr command nvim $argv end |
