mirror of
https://github.com/akelge/vim
synced 2025-08-16 23:58:41 +00:00
Added function fancyTerm that checks if we are on a "fancy" terminal
Changed prompt management to take in account "screen"
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
function prompt_minimal_setup {
|
||||
# Setup PROMPT
|
||||
if [ ${TERM[0,5]} = "xterm" ] || [ ${TERM} = "rxvt" ]; then
|
||||
if `fancyTerm`; then
|
||||
# We are on xterminal
|
||||
W="%n@%m:%."
|
||||
I="%m:%."
|
||||
|
Reference in New Issue
Block a user