mirror of
https://github.com/akelge/vim
synced 2025-08-16 07:48:35 +00:00
Modified Processing of source files
Changed prompts Added 99-local autocreation
This commit is contained in:
19
zsh/zsh.d/prompts/prompt_nice_setup
Normal file
19
zsh/zsh.d/prompts/prompt_nice_setup
Normal file
@ -0,0 +1,19 @@
|
||||
function prompt_nice_setup {
|
||||
|
||||
if [ ${TERM[0,5]} = "xterm" ] || [ ${TERM} = "rxvt" ]; 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_nice_setup
|
||||
|
||||
# vim: set ts=4 sw=4 tw=0 ft=zsh :
|
Reference in New Issue
Block a user