scold quotes on fish prompt

This commit is contained in:
Jill 2024-03-13 00:12:23 +03:00
parent 0a7e49a39d
commit daf32449b4
3 changed files with 10955 additions and 0 deletions

View File

@ -24,6 +24,9 @@ in {
interactiveShellInit = ''
sh ${colorScript}
'';
functions.fish_greeting = ''
${lib.getExe pkgs.fortune} -e ${pkgs.my.scold-fortunes}/share/fortune
'';
};
};
}

View File

@ -0,0 +1,18 @@
{ stdenv, pkgs, ... }:
stdenv.mkDerivation {
pname = "scold-fortunes";
version = "0.0.1710273980";
src = ./.;
nativeBuildInputs = with pkgs; [ fortune ];
installPhase = ''
runHook preInstall
mkdir -p $out/share/fortune/
strfile ./fortunes/*.fortune
cp -a ./fortunes/* $out/share/fortune/
runHook postInstall
'';
}

File diff suppressed because it is too large Load Diff