mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 19:45:25 +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
|
# Functions:1 ends here
|
||||||
|
|
||||||
# [[file:../../Console.org::*direnv][direnv:1]]
|
# [[file:../../Console.org::*direnv][direnv:1]]
|
||||||
direnv hook fish | source
|
if type -q direnv
|
||||||
|
direnv hook fish | source
|
||||||
|
end
|
||||||
# direnv:1 ends here
|
# 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
|
#+end_src
|
||||||
** direnv
|
** direnv
|
||||||
#+begin_src fish
|
#+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
|
#+end_src
|
||||||
* Nushell
|
* Nushell
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
|
|
@ -906,6 +917,16 @@ process_command = true
|
||||||
[processes]
|
[processes]
|
||||||
columns = ["PID", "State", "Name", "CPU%", "Mem%", "R/s", "W/s", "User"]
|
columns = ["PID", "State", "Name", "CPU%", "Mem%", "R/s", "W/s", "User"]
|
||||||
#+end_src
|
#+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
|
* Various console applications
|
||||||
| Guix dependency | Description |
|
| Guix dependency | Description |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue