1
0
Fork 0
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:
Andreas Kling 2020-07-07 11:27:35 +02:00
parent 7974279a5d
commit 1bc6bb0421
Notes: sideshowbarker 2024-07-19 05:03:00 +09:00
3 changed files with 15 additions and 10 deletions

View file

@ -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; }