fork/home-manager
git clone https://git.julia.blue/fork/home-manager
215af625
master
1{ lib , ...} : 2 3{ 4programs = { 5atuin . enable = true ; 6atuin . flags = [ "--disable-ctrl-r" "--disable-up-arrow" ]; 7bash = { 8enable = true ; 9enableCompletion = false ; 10}; 11zsh . enable = true ; 12fish . enable = true ; 13}; 14 15# Needed to avoid error with dummy fish package. 16xdg . dataFile . "fish/home-manager_generated_completions" . source = 17lib . mkForce ( builtins . toFile "empty" "" ); 18 19test . stubs = { 20atuin = { }; 21bash-preexec = { }; 22}; 23 24nmt . script = '' 25assertFileExists home-files/.bashrc 26assertFileContains \ 27home-files/.bashrc \ 28"eval \"\$(@atuin@/bin/atuin init bash '--disable-ctrl-r' '--disable-up-arrow')\"" 29 30assertFileExists home-files/.zshrc 31assertFileContains \ 32home-files/.zshrc \ 33"eval \"\$(@atuin@/bin/atuin init zsh '--disable-ctrl-r' '--disable-up-arrow')\"" 34assertFileExists home-files/.config/fish/config.fish 35assertFileContains \ 36home-files/.config/fish/config.fish \ 37"@atuin@/bin/atuin init fish --disable-ctrl-r --disable-up-arrow | source" 38'' ; 39}