Searched refs:path (Results 1 – 6 of 6) sorted by relevance
58 let path = match args.len() { in shell_cmd_cd() localVariable61 Ok(path) => { in shell_cmd_cd()62 if !path.is_dir() { in shell_cmd_cd()63 return Err(ExecuteErrorType::NotDir(path.to_str().unwrap().to_string())); in shell_cmd_cd()65 path.to_str().unwrap().to_string() in shell_cmd_cd()71 if let Err(_) = std::env::set_current_dir(&path) { in shell_cmd_cd()81 if let Ok(path) = std::fs::canonicalize(name) { in shell_cmd_exec()82 if path.is_file() { in shell_cmd_exec()83 Ok(path) in shell_cmd_exec()
29 path: EnvManager::current_dir(), in new()178 path: String, field183 format!("{}@{}:{}$ ", self.user_name, self.computer_name, self.path).len() in len()187 self.path = EnvManager::current_dir() in update_path()197 self.path.bright_cyan() in fmt()
17 path-clean = "1.0.1"
50 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) install --path . --no-track --root $(INSTALL_DIR) --force
294 ExecuteErrorType::NotDir(ref path) => eprintln!("Not a Directory: {path}"), in handle()295 ExecuteErrorType::NotFile(ref path) => eprintln!("Not a File: {path}"), in handle()535 let path = if cmd.name.contains('/') { in execute() localVariable537 if let Ok(path) = std::fs::canonicalize(&cmd.name) { in execute()538 if path.is_file() { in execute()539 Ok(path) in execute()554 match path { in execute()
4 path::Path,