Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Windows 中使用带有 Git 的 Bash shell。当我打开 shell 时,我希望设置许多别名。是否有为每个启动的 Bash 实例调用的配置文件?
谢谢@Blender,这就是答案。这是我所做的...
启动 bash (Git bash)
cd touch .bashrc notepad .bashrc source .bashrc # To make changes available without restart
输入别名...保存 关闭 bash 开始 bash 别名现在可用!