fork/home-manager
git clone https://git.julia.blue/fork/home-manager
70c8bd08
master
1{ lib , ...} : 2 3{ 4programs = { 5zellij = { 6enable = true ; 7enableBashIntegration = true ; 8enableZshIntegration = true ; 9enableFishIntegration = true ; 10}; 11bash . enable = true ; 12zsh . enable = true ; 13fish . enable = true ; 14}; 15 16# Needed to avoid error with dummy fish package. 17xdg . dataFile . "fish/home-manager_generated_completions" . source = 18lib . mkForce ( builtins . toFile "empty" "" ); 19 20test . stubs = { 21zsh = { }; 22zellij = { }; 23}; 24 25nmt . script = '' 26assertFileExists home-files/.bashrc 27assertFileContains \ 28home-files/.bashrc \ 29'eval "$(zellij setup --generate-auto-start bash)"' 30 31assertFileExists home-files/.zshrc 32assertFileContains \ 33home-files/.zshrc \ 34'eval "$(zellij setup --generate-auto-start zsh)"' 35 36assertFileExists home-files/.config/fish/config.fish 37assertFileContains \ 38home-files/.config/fish/config.fish \ 39'eval (zellij setup --generate-auto-start fish | string collect)' 40'' ; 41}