在 Windows Terminal 添加新配置文件时,命令行参数配置

在 Windows Terminal 添加新配置文件时,命令行参数配置,第1张

命令行
描述命令行
cygwin64path\to\cygwin64\bin\bash.exe -i -l
git bashpath\to\Git\bin\bash.exe -i -l
MySQL Shell“path\to\MySQL\MySQL Shell 8.0\bin\mysqlsh.exe”
服务器(使用密钥)ssh -i path\to.ssh\key_file.pem user@host
Anaconda Powershell Prompt%windir%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy ByPass -NoExit -Command "& ‘path\to\anaconda3\shell\condabin\conda-hook.ps1’ ; conda activate ‘path\to\anaconda3’ "
小技巧
  1. 需要使用 -i -l 参数通过交互模式开启
  2. 参考快捷链接属性页中的目标配置:
扩展

【更加详细的步骤可以参考这篇文章】在 Windows Terminal 中使用 Cygwin 命令行或 Git Bash - Leo3418 的个人网站 : https://leo3418.github.io/zh/2020/05/24/cygwin-git-bash-in-wt.html

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/langs/868030.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-13
下一篇2022-05-13

发表评论

登录后才能评论

评论列表(0条)

    保存