gpt4 book ai didi

windows - Windows 中的 Bash 启动脚本

转载 作者:可可西里 更新时间:2023-11-01 12:42:51 24 4
gpt4 key购买 nike

我在 Windows 中使用 Bash shell 和 Git。当我打开 shell 时,我有许多我希望设置的别名。是否有为每个启动的 Bash 实例调用的配置文件?

最佳答案

谢谢@Blender,这就是答案。这是我所做的...

启动 bash(Git bash)

cd
touch .bashrc
notepad .bashrc
source .bashrc # To make changes available without restart

输入别名...保存
关闭庆典
开始狂欢
别名现已可用!

关于windows - Windows 中的 Bash 启动脚本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10217154/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com