fix: run neowofetch directly on unix
The script should contain a shebang, so no need to spawn a subshell for it
This commit is contained in:
@@ -506,8 +506,7 @@ where
|
||||
|
||||
#[cfg(not(windows))]
|
||||
{
|
||||
let mut command = Command::new("bash");
|
||||
command.arg(neofetch_path);
|
||||
let mut command = Command::new(neofetch_path);
|
||||
command.args(args);
|
||||
Ok(command)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user