mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +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:
parent
3d6a035d0f
commit
bc3285abb0
4 changed files with 38 additions and 12 deletions
5
Base/home/anon/shell-init.sh
Normal file
5
Base/home/anon/shell-init.sh
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue