在 Bash 中,我可以EDITOR=vim command并且command将使用EDITORset to运行vim,但这不会影响EDITORshell 本身中的值。是否有可能做到这一点cmd.exe?
EDITOR=vim command
command
EDITOR
vim
cmd.exe
windows shell command-line
command-line ×1
shell ×1
windows ×1