1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 12:57:35 +00:00

Shell: Run both /etc/shellrc and ~/.shellrc on startup

The global script runs before the local (per-user) one.
This commit is contained in:
Andreas Kling 2020-07-07 11:27:35 +02:00
parent 7974279a5d
commit 1bc6bb0421
3 changed files with 15 additions and 10 deletions

5
Base/home/anon/.shellrc Normal file
View file

@ -0,0 +1,5 @@
#!/bin/sh
# IFS controls what $(...) (inline evaluate) would split its captured
# string with. the default is \x0a (i.e. newline).
IFS="\x0a"