diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-30 22:38:40 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-30 22:38:40 +0200 |
commit | 68513abf39e50175ea7899cdde9940cfa5baa26f (patch) | |
tree | 9779588335400e4675c3269a003f41e1d8541b1c | |
parent | 06c478852a1f1752d629dd058201d0b395dad78b (diff) | |
download | serenity-68513abf39e50175ea7899cdde9940cfa5baa26f.zip |
Terminal: Tweak default prompt color slightly :^)
-rw-r--r-- | Applications/Terminal/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Terminal/main.cpp b/Applications/Terminal/main.cpp index 1fda2345c1..cfdb9d68f5 100644 --- a/Applications/Terminal/main.cpp +++ b/Applications/Terminal/main.cpp @@ -116,7 +116,7 @@ static void run_command(int ptm_fd, String command) args[1] = "-c"; args[2] = command.characters(); } - const char* envs[] = { "PROMPT=\\X\\u@\\h:\\w\\a\\e[33;1m\\h\\e[0m \\e[32;1m\\w\\e[0m \\p ", "TERM=xterm", "PAGER=more", "PATH=/bin:/usr/bin:/usr/local/bin", nullptr }; + const char* envs[] = { "PROMPT=\\X\\u@\\h:\\w\\a\\e[33;1m\\h\\e[0m \\e[34;1m\\w\\e[0m \\p ", "TERM=xterm", "PAGER=more", "PATH=/bin:/usr/bin:/usr/local/bin", nullptr }; rc = execve(shell.characters(), const_cast<char**>(args), const_cast<char**>(envs)); if (rc < 0) { perror("execve"); |