mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09: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:
parent
7974279a5d
commit
1bc6bb0421
Notes:
sideshowbarker
2024-07-19 05:03:00 +09:00
Author: https://github.com/awesomekling
Commit: 1bc6bb0421
3 changed files with 15 additions and 10 deletions
|
@ -69,7 +69,8 @@ class Shell : public Core::Object {
|
|||
C_OBJECT(Shell);
|
||||
|
||||
public:
|
||||
constexpr static auto init_file_path = "~/shell-init.sh";
|
||||
constexpr static auto local_init_file_path = "~/.shellrc";
|
||||
constexpr static auto global_init_file_path = "/etc/shellrc";
|
||||
|
||||
bool is_accepting_signals() const { return m_is_accepting_signals; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue