diff options
| -rw-r--r-- | fish/conf.d/env.fish | 4 | ||||
| -rw-r--r-- | fish/config.fish | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/fish/conf.d/env.fish b/fish/conf.d/env.fish index 49520f9..c1645f7 100644 --- a/fish/conf.d/env.fish +++ b/fish/conf.d/env.fish @@ -1,2 +1,2 @@ -set --global --export EDITOR nvim -set --global --export VISUAL nvim +set --global --export EDITOR vim +set --global --export VISUAL vim diff --git a/fish/config.fish b/fish/config.fish index 353b542..60fdc97 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -18,6 +18,8 @@ status is-interactive; and begin set --global --export GPG_TTY (tty) gpg-connect-agent --quiet updatestartuptty /bye >/dev/null + set --global --export __done_min_cmd_duration 60000 # done só considera comandos que estejam levando mais de 1 minuto + # use `doas(1)` no lugar de `sudo(1)`, se aplicável if command --query doas bind --user alt-s "fish_commandline_prepend doas" @@ -30,7 +32,7 @@ status is-interactive; and begin if command --query any-nix-shell any-nix-shell fish --info-right | source end - + if command --query zoxide zoxide init fish | source end |
