mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19: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:
parent
7974279a5d
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