atuin: Added
This commit is contained in:
parent
ac43ef6548
commit
8909b2bfa3
19
hm/shell/atuin.nix
Normal file
19
hm/shell/atuin.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
config = {
|
||||
programs.atuin = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
settings = {
|
||||
auto_sync = true;
|
||||
sync_frequency = "5m";
|
||||
sync_address = "https://atuin.frogeye.fr";
|
||||
ctrl_n_shortcuts = true; # Cranberry uses Alt for i3
|
||||
};
|
||||
flags = [
|
||||
"--disable-up-arrow"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -14,7 +14,6 @@ in
|
|||
historySize = 100000;
|
||||
historyFile = "${config.xdg.stateHome}/shell_history";
|
||||
historyFileSize = 100000;
|
||||
# TODO Check out Atuin
|
||||
historyControl = [ "erasedups" "ignoredups" "ignorespace" ];
|
||||
};
|
||||
zsh = {
|
||||
|
@ -35,4 +34,7 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
imports = [
|
||||
./atuin.nix
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue