mirror of
https://github.com/akelge/zsh
synced 2025-07-03 13:09:07 +00:00
migration
This commit is contained in:
18
zsh.d/prompts/prompt_niceOld_setup
Normal file
18
zsh.d/prompts/prompt_niceOld_setup
Normal file
@ -0,0 +1,18 @@
|
||||
function prompt_niceOld_setup {
|
||||
if `fancyTerm`; then
|
||||
W="::: %n at %m in %. :::"
|
||||
I="%m::%."
|
||||
L="%B%K{blue}%F{white}@%m::%2~ %f%k
|
||||
%F{yellow}%#%f%b "
|
||||
PS1="%{]2;$W%}%{]1;$I%}$L"
|
||||
unset W I L
|
||||
|
||||
else
|
||||
# We are not on xterminal
|
||||
PS1="%B%K{blue}%F{white}[%l] %n@%m:%~ %f%k%F{yellow}%#%f%b "
|
||||
fi
|
||||
}
|
||||
|
||||
prompt_niceOld_setup
|
||||
|
||||
# vim: set ts=4 sw=4 tw=0 ft=zsh :
|
Reference in New Issue
Block a user