1
0
mirror of https://github.com/akelge/vim synced 2025-09-15 19:14:21 +00:00

Light changes to prompt

files with .off extension are ignored
Disabled coreutils and dsFunctions on Darwin
This commit is contained in:
2013-01-04 16:02:29 +00:00
parent 01d2f341ef
commit 0923914a13
9 changed files with 27 additions and 13 deletions

View File

@ -2,7 +2,12 @@
# Setup PROMPT
if [ ${TERM[0,5]} = "xterm" ] || [ ${TERM} = "rxvt" ]; then
# We are on xterminal
PS1="%{]2;%n@%m:%.%}%{]1; %m:%. %}%B<%l> %~ %#%b "
W="%{]2;::: %n at %m in %. :::%}"
I="%{]1;%m::%.%}"
L="%B${PR_BLUE}%3~ %#%b "
PS1="$W$I$L"
unset W I L
else
# We are not on xterminal
PS1="%B[%l] %n@%m:%~ %#%b "