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

Shell: Read and evaluate an init file on start

This behaviour is overridable with the `--skip-init' flag.
The default file is at '~/shell-init.sh'
This commit is contained in:
AnotherTest 2020-06-17 19:37:44 +04:30 committed by Andreas Kling
parent 3d6a035d0f
commit bc3285abb0
4 changed files with 38 additions and 12 deletions

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"