mirror of
https://github.com/SqrtMinusOne/micromamba.el.git
synced 2025-12-10 21:23:03 +03:00
Cleanup a bit
This commit is contained in:
parent
2cfbe35ec2
commit
e5596b4b4b
1 changed files with 2 additions and 3 deletions
|
|
@ -237,7 +237,7 @@ The parameters value is an alist as defined by
|
||||||
`micromamba--parse-script-buffer'."
|
`micromamba--parse-script-buffer'."
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(if (file-remote-p default-directory)
|
(if (file-remote-p default-directory)
|
||||||
(micromamba--safe-shell-command (list micromamba-executable "shell" "activate" prefix "-s" "bash") (current-buffer))
|
(micromamba--safe-shell-command (list micromamba-executable "shell" "activate" prefix "-s" "bash"))
|
||||||
(call-process micromamba-executable nil t nil
|
(call-process micromamba-executable nil t nil
|
||||||
"shell" "activate" prefix "-s" "bash"))
|
"shell" "activate" prefix "-s" "bash"))
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
|
|
@ -250,8 +250,7 @@ The parameters value is an alist as defined by
|
||||||
`micromamba--parse-script-buffer'."
|
`micromamba--parse-script-buffer'."
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(if (file-remote-p default-directory)
|
(if (file-remote-p default-directory)
|
||||||
(micromamba--safe-shell-command (list
|
(micromamba--safe-shell-command (list micromamba-executable "run" "micromamba" "shell" "deactivate" "-s" "bash"))
|
||||||
micromamba-executable "run" "micromamba" "shell" "deactivate" "-s" "bash") (current-buffer))
|
|
||||||
(call-process micromamba-executable nil t nil
|
(call-process micromamba-executable nil t nil
|
||||||
"shell" "deactivate" "-s" "bash"))
|
"shell" "deactivate" "-s" "bash"))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue