mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
fix: relative path rules
This commit is contained in:
parent
b332ca4dfb
commit
ee7b270d9c
4 changed files with 14 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ use crate::shell::{add_candidates_no_dup, module_output, shell_evaluated_command
|
|||
use crate::style::highlight_difference;
|
||||
|
||||
pub fn suggest_candidates(data: &mut Data) {
|
||||
let executable = &data.split[0];
|
||||
let executable = &data.split[0].rsplit(std::path::MAIN_SEPARATOR).next().unwrap();
|
||||
let command = &data.command;
|
||||
let privilege = &data.privilege;
|
||||
let mut suggest_candidates = vec![];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue