feat(shell): major refactor around history and completion setup

Biggest change is embracing fzf for all shell completion. This includes
using tmux popup windows to effectively render completions as floating
popups with fuzzy matching via fzf.

Shell history has also been improved, with appending each command to the
history file one by one, rather than only at end of a shell session when
the shell exists. This should ensure I don't have any more lost commands
cause the shell didn't exit cleanly.
This commit is contained in:
2024-05-19 00:08:04 +01:00
parent 3a6e6a5256
commit 98f0b2ec66
5 changed files with 155 additions and 54 deletions

View File

@@ -25,6 +25,7 @@ show_tools = false
"cargo:hwatch" = "latest"
"cargo:jwt-cli" = "latest"
"cargo:kubectl-watch" = "latest"
"cargo:paper-terminal" = "latest"
"cargo:sccache" = "latest"
"cargo:tlrc" = "latest"
"cargo:ubi" = "latest"
@@ -93,6 +94,7 @@ ruby = "latest"
shellcheck = "latest"
shfmt = "latest"
starship = "latest"
talosctl = "latest"
terraform = "latest"
tflint = "latest"
usage = "latest"