Cmder - 'eval' 命令无法识别

Cmder - 'eval' command is not recognized

λ eval
'eval' is not recognized as an internal or external command, operable program or batch file.

刚下载 Windows 10.

先使用bash进入bashshell。那么 eval 就可以正常工作了。

如果您使用 windows 10 和 VS 代码,您可以在终端中使用 git Bash - 对我来说它有效。

如果您只想将 ssh-key 添加到 ssh-agent,请使用以下命令。

start-ssh-agent.cmd

这将添加默认私钥,例如 id_rsa

打开你的应用程序 git bash.. 它就像 cmd,但是从 git 本地,你可以 运行 命令 eval

enter image description here