command arguments are now underlined if they match an existing path -m ran rustfmt on the entire codebase
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
pub mod readline;
|
||||
pub mod statusline;
|
||||
|
||||
|
||||
use crate::{expand::expand_prompt, libsh::error::ShResult, prelude::*};
|
||||
|
||||
/// Initialize the line editor
|
||||
@@ -16,7 +15,7 @@ pub fn get_prompt() -> ShResult<String> {
|
||||
"\\e[0m\\n\\e[1;0m\\u\\e[1;36m@\\e[1;31m\\h\\n\\e[1;36m\\W\\e[1;32m/\\n\\e[1;32m\\$\\e[0m ";
|
||||
return expand_prompt(default);
|
||||
};
|
||||
let sanitized = format!("\\e[0m{prompt}");
|
||||
let sanitized = format!("\\e[0m{prompt}");
|
||||
|
||||
expand_prompt(&sanitized)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user