Cleanup zshrc, changed server prompt

This commit is contained in:
Andrea Mistrali 2016-11-29 17:59:07 +01:00
parent 8dce8a067e
commit ac5c0d227f
2 changed files with 2 additions and 4 deletions

View File

@ -4,13 +4,13 @@ if `fancyTerm`; then
# We are on xterminal # We are on xterminal
W="%n@%m:%." W="%n@%m:%."
I="%m:%." I="%m:%."
L="%B@%m %4(~:...:)%3~ %#%b " L="%T %B@%m %4(~:...:)%3~ %#%b "
PS1="%{]2;$W%}%{]1;$I%}$L" PS1="%{]2;$W%}%{]1;$I%}$L"
unset W I L unset W I L
else else
# We are not on xterminal # We are not on xterminal
PS1="%B%n@%m:%~ %#%b " PS1="%T %B%n@%m:%~ %#%b "
fi fi
} }

2
zshrc
View File

@ -17,8 +17,6 @@ KERNEL=`uname -s`
LIBRARY=${BASE}/zsh.d LIBRARY=${BASE}/zsh.d
KERNLIB=${LIBRARY}/${KERNEL} KERNLIB=${LIBRARY}/${KERNEL}
echo $KERNEL
function loadRC { function loadRC {
# [ -d $1 ] && cd $1 || exit 1 # [ -d $1 ] && cd $1 || exit 1
# #