My git bash suddenly became like this. It is very difficult to use and the delete key cannot be used. What should I do? ? ? Were there always paths in the past? ?
淡淡烟草味2017-05-02 09:51:56
http://blog.csdn.net/scofy0/a...
The steps are as follows:
vim ~/.bash_profile
(It doesn’t matter how many .bash_profile files there are, you can create a new one yourself)
Add
export PS1='[u@h W]$' at the end
Then execute
source ~/.bash_profile
This way the shell can display the path.