Skip to content

Commit

Permalink
fix(ext/pkgx): remove dev command
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jan 15, 2025
1 parent 9477c7d commit ed5142e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/ext/src/pkgx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl Extension for Pkgx {
return Ok(ExitStatus::default());
}

let cmd = format!("eval \"$(pkgx --shellcode)\" ; {}", cmd);
let cmd = format!("eval \"$(pkgx --shellcode)\"; {}", cmd);
exec(&cmd, tx, out, last_cmd, work_dir)
}

Expand All @@ -65,6 +65,6 @@ impl Extension for Pkgx {
}

fn format_command(&self, cmd: &str) -> String {
format!("eval \"$(pkgx --shellcode)\" cmd)
format!("eval \"$(pkgx --shellcode)\"; {}", cmd)
}
}

0 comments on commit ed5142e

Please sign in to comment.