1
isayme 2014-05-22 16:51:22 +08:00 1
应该是配置 PS1 变量
|
2
leafonsword 2014-05-22 16:54:05 +08:00 1
fish和zsh能自动提示上次cd的目录
|
3
kqz901002 2014-05-22 16:55:52 +08:00 1
你可以试下zsh,并安装oh my zsh https://github.com/robbyrussell/oh-my-zsh
|
4
Lax 2014-05-22 16:58:36 +08:00 1
echo $PS1
export PS1="whatever you want" |
5
isayme 2014-05-22 16:59:50 +08:00 1
完全再现你的场景, 在bash下执行命令 export PS1="\n[\W]\n\n\u@\h: \$ "
|
6
isayme 2014-05-22 17:05:17 +08:00
有点小问题, 用这个 export PS1="\n[\w]\n\n\u@\h: \$ "
|
7
83f420984 2014-05-22 17:15:20 +08:00
LZ你这头像能换了么?感觉非常不协调
|
8
lang1pal OP |