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

9 lines
94 B
Nix

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