console: add atuin

This commit is contained in:
Pavel Korytov 2024-03-08 21:56:55 +03:00
parent 53a22ec95f
commit 8453d94eed
2 changed files with 34 additions and 2 deletions

View file

@ -84,5 +84,16 @@ end
# Functions:1 ends here
# [[file:../../Console.org::*direnv][direnv:1]]
direnv hook fish | source
if type -q direnv
direnv hook fish | source
end
# direnv:1 ends here
# [[file:../../Console.org::*atuin][atuin:1]]
if type -q atuin
set -gx ATUIN_NOBIND "true"
atuin init fish | source
bind \cr _atuin_search
bind -M insert \cr _atuin_search
end
# atuin:1 ends here

View file

@ -603,7 +603,18 @@ end
#+end_src
** direnv
#+begin_src fish
direnv hook fish | source
if type -q direnv
direnv hook fish | source
end
#+end_src
** atuin
#+begin_src fish
if type -q atuin
set -gx ATUIN_NOBIND "true"
atuin init fish | source
bind \cr _atuin_search
bind -M insert \cr _atuin_search
end
#+end_src
* Nushell
:PROPERTIES:
@ -906,6 +917,16 @@ process_command = true
[processes]
columns = ["PID", "State", "Name", "CPU%", "Mem%", "R/s", "W/s", "User"]
#+end_src
* Atuin
[[https://github.com/atuinsh/atuin][atuin]] is a tool that replaces shell history with a SQLite database, providing some additional functionality.
See [[https://docs.atuin.sh/configuration/config/][config reference]].
#+begin_src toml :tangle ~/.config/atuin/config.toml
update_check = false
enter_accept = true
keymap_mode = "vim-insert"
#+end_src
* Various console applications
| Guix dependency | Description |