mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
feat(perl): Added perl version module (#1382)
Adds a module for perl support.
This commit is contained in:
@@ -111,6 +111,10 @@ active boot switches: -d:release\n",
|
||||
stdout: String::from("4.08.1\n"),
|
||||
stderr: String::default(),
|
||||
}),
|
||||
"perl -e printf q#%vd#,$^V;" => Some(CommandOutput {
|
||||
stdout: String::from("5.26.1"),
|
||||
stderr: String::default(),
|
||||
}),
|
||||
"php -nr 'echo PHP_MAJOR_VERSION.\".\".PHP_MINOR_VERSION.\".\".PHP_RELEASE_VERSION;'" => {
|
||||
Some(CommandOutput {
|
||||
stdout: String::from("7.3.8"),
|
||||
|
||||
Reference in New Issue
Block a user