diff --git a/Cargo.lock b/Cargo.lock index ceb4cf2..1bebbab 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -186,7 +186,7 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" [[package]] name = "multi-ssh" -version = "0.2.0" +version = "0.2.1" dependencies = [ "clap", "homedir", diff --git a/Cargo.toml b/Cargo.toml index f3fb68f..e7214f7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "multi-ssh" -version = "0.2.0" +version = "0.2.1" edition = "2024" [dependencies] diff --git a/src/main.rs b/src/main.rs index f0da5ec..d8f0a0a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -689,7 +689,7 @@ where let editor_command = shell_words::split(&editor) .map_err(|e| format!("failed to parse editor command: {e}"))? .into_iter() - .map(|part| part.replace_with_os_str(FILE_PLACEHOLDER, &file_path)) + .map(|part| part.replace_with_os_str(FILE_PLACEHOLDER, &downloaded_file_path)) .collect::>(); ShellCommand::Editor(editor_command)