mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +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
Notes:
sideshowbarker
2024-07-19 05:09:30 +09:00
Author: https://github.com/alimpfard
Commit: bc3285abb0
Pull-request: https://github.com/SerenityOS/serenity/pull/2542
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bugaevc
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