nix/home/program/bash/module/Reload.nix
2024-11-06 01:07:30 +03:00

9 lines
94 B
Nix

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