Why doesn't it work to manually do .sh under the bash shell? 为什么在 bash shell 下手动执行 .sh 无效? #2976
Unanswered
DOSforever
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我在 d:\cmder\config\profile.d 目录下修改了下 alias.sh 文件。然后在 bash 下输入 /d/cmder/config/profile.d/alias.sh 执行了这个文件,没有报任何错误,但为什么新增的 alias 没有?也就是执行后无效,应该如何做才能生效?
I modified the following alias.sh file in the
d:\cmder\config\profile.d
directory. Then enter/d/cmder/config/profile.d/alias.sh
in bash and execute this file without any errors, but why is the new alias not? That is, it is invalid after execution, what should be done to take effect?Beta Was this translation helpful? Give feedback.
All reactions