Skip to content

Commit

Permalink
set PS1 prompt via sci env
Browse files Browse the repository at this point in the history
  • Loading branch information
schaefi committed Apr 9, 2024
1 parent 1b01dfa commit 3adb7c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions firecracker-pilot/guestvm-tools/sci/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ fn main() {
let mut do_exec = false;
let mut ok = true;

env::set_var("PS1", "\\[\\]\\u@\\h:/home/ms \\[\\]\\[\\]> \\[\\]\n");

// print user space env
for (key, value) in env::vars() {
debug(&format!("{}: {}", key, value));
Expand Down

0 comments on commit 3adb7c5

Please sign in to comment.