Vie*_*iet 3 windows git bash
有没有办法在 Windows 10 上为 WSL Bash 创建别名?
使用 Git Bash,很容易:编辑文件.bashrc:alias alias-name="command"我已经完成了我的研究,包括这些帖子1、2但找不到答案。
.bashrc
alias alias-name="command"
如果那不可能。是否可以将 Git Bash 设置为 Visual Studio Code 中的集成终端?
Rob*_*son 5
我被绊倒了,因为我编辑了错误的 .bashrc 文件。在 linux 文件系统 (home/robin/.bashrc) 中有一个,在 windows 文件系统 (c:/users/robin/.bashrc) 中有另一个。我不得不编辑 linux 文件系统中的那个。现在,当我启动 Windows 终端时,我可以使用我的别名。
归档时间:
8 年,3 月 前
查看次数:
6856 次
最近记录:
5 年,11 月 前