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