mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
feat: Add support for RPROMPT (right prompt) (#3026)
Adds support for zsh, fish, and elvish. Co-authored-by: Matan Kushner <hello@matchai.dev>
This commit is contained in:
committed by
GitHub
parent
cb8dca2101
commit
79585dcb17
@@ -99,6 +99,11 @@ fn main() {
|
||||
.subcommand(
|
||||
SubCommand::with_name("prompt")
|
||||
.about("Prints the full starship prompt")
|
||||
.arg(
|
||||
Arg::with_name("right")
|
||||
.long("right")
|
||||
.help("Print the right prompt (instead of the standard left prompt)"),
|
||||
)
|
||||
.arg(&status_code_arg)
|
||||
.arg(&pipestatus_arg)
|
||||
.arg(&path_arg)
|
||||
|
||||
Reference in New Issue
Block a user