nix/home/program/bash/module/Reload.nix

10 lines
105 B
Nix

{ ... }:
{
text = ''
function reload() {
source ~/.bashrc
}
trap reload USR1
'';
}