mirror of https://github.com/akelge/zsh
New prompt for vscode
This commit is contained in:
parent
ec35432976
commit
1b86877f9d
|
@ -0,0 +1,19 @@
|
||||||
|
function prompt_minimal_setup {
|
||||||
|
# Setup PROMPT
|
||||||
|
if `fancyTerm`; then
|
||||||
|
# We are on xterminal
|
||||||
|
W="%n@%m:%."
|
||||||
|
I="%m:%."
|
||||||
|
L="%B%3(~:...:)%2~ %#%b "
|
||||||
|
PS1="%{]2;$W%}%{]1;$I%}$L"
|
||||||
|
unset W I L
|
||||||
|
|
||||||
|
else
|
||||||
|
# We are not on xterminal
|
||||||
|
PS1="%B%. %#%b "
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
prompt_minimal_setup
|
||||||
|
|
||||||
|
# vim: set ts=4 sw=4 tw=0 ft=zsh :
|
Loading…
Reference in New Issue