scold quotes on fish prompt
This commit is contained in:
parent
0a7e49a39d
commit
daf32449b4
|
@ -24,6 +24,9 @@ in {
|
|||
interactiveShellInit = ''
|
||||
sh ${colorScript}
|
||||
'';
|
||||
functions.fish_greeting = ''
|
||||
${lib.getExe pkgs.fortune} -e ${pkgs.my.scold-fortunes}/share/fortune
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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
Loading…
Reference in New Issue