mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
Shell: Load a different rc file when in POSIX mode
This commit is contained in:
parent
832478ad0c
commit
d997b794fa
3 changed files with 48 additions and 2 deletions
|
@ -92,6 +92,8 @@ class Shell : public Core::Object {
|
|||
public:
|
||||
constexpr static auto local_init_file_path = "~/.shellrc";
|
||||
constexpr static auto global_init_file_path = "/etc/shellrc";
|
||||
constexpr static auto local_posix_init_file_path = "~/.posixshrc";
|
||||
constexpr static auto global_posix_init_file_path = "/etc/posixshrc";
|
||||
|
||||
bool should_format_live() const { return m_should_format_live; }
|
||||
void set_live_formatting(bool value) { m_should_format_live = value; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue