Execute "git pu (table key)" in the directory, the shell automatically executes the alias "test" command in the "~/.bashrc" file, why?

LJTian

New Member
Joined
Jul 12, 2021
Messages
3
Reaction score
0
Credits
21
Screenshots:

1626059469068.png


1626059497250.png


Remarks:
The name test of the current directory is the same as the command.
 
Last edited:


如果您在這裡需要幫助,您必須用英語寫作。謝謝你。

Please repeat in English and modify your Subject Title.

Also, it is "alias", not "alise".

Chris Turner
wizardfromoz
 
如果您需要帮助,您必须用英语写作。谢谢你。

请用英语重复并修改您的主题标题。

此外,它是“别名”,而不是“别名”。

克里斯特纳
巫师
[/引用]
○k
 
test is also a bash shell-built-in so that's why it may behaving strangely. Try changing the alias test to testing and see what happens then?
 
test is also a bash shell-built-in so that's why it may behaving strangely. Try changing the alias test to testing and see what happens then?
I have modified it to "cdtest", this will not happen after the modification
 


Top