Make dumb prompt more informative
This should still work with Emacs' TRAMP, but is more informative.
This commit is contained in:
parent
fed4dc8d38
commit
4e2164d2db
2
bashrc
2
bashrc
|
@ -31,7 +31,7 @@ shopt -s checkwinsize
|
||||||
|
|
||||||
# Simple prompt
|
# Simple prompt
|
||||||
if [[ "$TERM" = "dumb" ]]; then
|
if [[ "$TERM" = "dumb" ]]; then
|
||||||
PS1="> "
|
PS1="\u@\h:\w$ "
|
||||||
else
|
else
|
||||||
PS1="┌[\e[0;32m\u@\h\e[m] [\e[0;31m\w\e[m] [\t]\n└── "
|
PS1="┌[\e[0;32m\u@\h\e[m] [\e[0;31m\w\e[m] [\t]\n└── "
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue