-
Notifications
You must be signed in to change notification settings - Fork 0
Sync shell history #266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Sync shell history #266
Changes from all commits
13f9da0
2e9f616
5437d3e
93c7754
6134b36
8760d60
1753a70
360f92b
f69082a
85b1101
20ce45b
f655eed
326a6e6
f0d0468
17c0110
79ce1a4
9ae07b6
6df3dfc
d54e4ae
19f6c9d
19ed2c7
4b84368
77bd10b
47227a4
8bb40f1
04508c8
a1a9e41
69437c5
8ba9fc0
de6d2bf
090d53d
6e1dea4
a56e051
2c6b201
580f4ef
27c5b46
a6557a9
058c9b2
ffd14ea
070e70a
878a87f
0d7a51a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -220,6 +220,33 @@ | |
| ]; | ||
| }; | ||
|
|
||
| # https://github.com/nix-community/home-manager/blob/release-25.05/modules/programs/atuin.nix | ||
| programs.atuin = { | ||
| enable = true; | ||
|
|
||
| flags = [ | ||
| # https://github.com/atuinsh/atuin/issues/51 | ||
| "--disable-up-arrow" | ||
|
|
||
| # NOTE: Add another keybind if I found suitable one | ||
| "--disable-ctrl-r" # Prefer fzf key-bindings. Use `atuin search --interactive` instead. | ||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The sync results also available on normal history and fzf...?
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pressing
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
From the doc, the behavior is incorrect: https://docs.atuin.sh/configuration/key-binding/#atuin-ui-shortcuts
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
<- also simply exits
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Atuin does not indicate current matching parts such as fzf -> It might be fixed in unstable atuin versions: https://forum.atuin.sh/t/highlight-part-of-query-being-matched-in-search-history-similar-to-fzf/1254/2 |
||
| ]; | ||
|
|
||
| settings = { | ||
| # auto_sync = true; # TODO: Consider enabling after test | ||
|
|
||
| # Set a temporary value here to prevent using an external service like the default https://api.atuin.sh/. | ||
| # Current issues: | ||
| # - Atuin TLS support is disabled. | ||
| # - The NixOS module does not seem to accept config files or support TLS. | ||
| # Requirements before actual setup: Set ATUIN_SYNC_ADDRESS="https://algae.${TAILNET_DOMAIN}" on each device. | ||
| # Typically written to: "$XDG_CONFIG_HOME/zsh/.zshenv.local" | ||
| sync_address = "http://algae.local:8888"; | ||
|
|
||
| enter_accept = false; # Ensure disabling even through it is the default. | ||
| }; | ||
| }; | ||
|
|
||
| # https://github.com/nix-community/home-manager/blob/release-25.05/modules/programs/yazi.nix | ||
| programs.yazi = { | ||
| enable = true; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.