forked from DGNum/liminix
/etc/ashrc for interactive non-login shells
This commit is contained in:
parent
0173a9ced9
commit
bc27f121d9
1 changed files with 7 additions and 3 deletions
|
@ -146,13 +146,17 @@ in {
|
||||||
console = node "c" "5" "1" "0600";
|
console = node "c" "5" "1" "0600";
|
||||||
pts = dir {};
|
pts = dir {};
|
||||||
};
|
};
|
||||||
etc = dir {
|
etc = let
|
||||||
profile = symlink
|
profile = symlink
|
||||||
(pkgs.writeScript ".profile" ''
|
(pkgs.writeScript ".profile" ''
|
||||||
PATH=${lib.makeBinPath config.defaultProfile.packages}:/bin
|
PATH=${lib.makeBinPath config.defaultProfile.packages}:/bin
|
||||||
export PATH
|
export PATH
|
||||||
'');
|
'');
|
||||||
|
in dir {
|
||||||
|
inherit profile;
|
||||||
|
ashrc = profile;
|
||||||
};
|
};
|
||||||
|
|
||||||
proc = dir {};
|
proc = dir {};
|
||||||
run = dir {};
|
run = dir {};
|
||||||
sys = dir {};
|
sys = dir {};
|
||||||
|
|
Loading…
Reference in a new issue