1
0
mirror of https://github.com/akelge/zsh synced 2025-07-03 21:19:06 +00:00

First round of cleanup

This commit is contained in:
2020-02-12 13:45:35 +01:00
parent 8fb766ba35
commit d48767e51d
9 changed files with 10 additions and 214 deletions

View File

@ -1,19 +0,0 @@
function prompt_server2_setup {
# Setup PROMPT
if `fancyTerm`; then
# We are on xterminal
W="%n@%m:%."
I="%m:%."
L="%B@%m %4(~:...:)%3~ %#%b "
PS1="%{]2;$W%}%{]1;$I%}$L"
unset W I L
else
# We are not on xterminal
PS1="%B%n@%m:%~ %#%b "
fi
}
prompt_server2_setup
# vim: set ts=4 sw=4 tw=0 ft=zsh :