mirror of
https://github.com/starship/starship.git
synced 2026-06-21 02:02:14 +07:00
docs: fix duplicate word in custom module comment (#7349)
Co-authored-by: rohan436 <rohan.santhoshkumar@googlemail.com>
This commit is contained in:
committed by
GitHub
parent
fce0ed741b
commit
e5c1c7c4a9
@@ -280,7 +280,7 @@ fn exec_command(cmd: &str, context: &Context, config: &CustomConfig) -> Option<S
|
||||
|
||||
/// If the specified shell refers to `PowerShell`, adds the arguments "-Command -" to the
|
||||
/// given command.
|
||||
/// Returns `false` if the shell shell expects scripts as arguments, `true` if as `stdin`.
|
||||
/// Returns `false` if the shell expects scripts as arguments, `true` if as `stdin`.
|
||||
fn handle_shell(command: &mut Command, shell: &str, shell_args: &[&str]) -> bool {
|
||||
let shell_exe = Path::new(shell).file_stem();
|
||||
let no_args = shell_args.is_empty();
|
||||
|
||||
Reference in New Issue
Block a user