mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
console: add atuin
This commit is contained in:
parent
53a22ec95f
commit
8453d94eed
2 changed files with 34 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
23
Console.org
23
Console.org
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue