mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 22:40:09 +01:00
feat: better generic shell handling
This commit is contained in:
parent
41d6b04ea5
commit
3a2ac2fa63
3 changed files with 14 additions and 8 deletions
|
|
@ -6,6 +6,13 @@ use crate::evals::find_similar;
|
|||
use itertools::Itertools;
|
||||
|
||||
pub fn get_path_files() -> Vec<String> {
|
||||
let env = std::env::var("_PR_EXECUTABLES");
|
||||
if let Ok(env) = env {
|
||||
if !env.is_empty() {
|
||||
return env.split(' ').map(|s| s.to_owned()).collect();
|
||||
}
|
||||
}
|
||||
|
||||
let path_env = path_env();
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue