1
0
mirror of https://github.com/akelge/zsh synced 2025-08-20 08:08:09 +00:00

migration

This commit is contained in:
Andrea Mistrali
2015-03-13 16:03:57 +01:00
parent fec1d63a8d
commit 0d61c334d7
160 changed files with 0 additions and 48269 deletions

View File

@ -0,0 +1,19 @@
function prompt_minimal_setup {
# Setup PROMPT
if `fancyTerm`; then
# We are on xterminal
W="%n@%m:%."
I="%m:%."
L="%B%. %#%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 :

View 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 :

View File

@ -0,0 +1,20 @@
function prompt_nice_setup {
if `fancyTerm`; then
title="::: %n at %m in %. :::"
icon="%m::%."
prompt_='$FX[bold]$FX[italic]$BG[062]@%m::%2~$FX[reset]
$FX[bold]$(repo_char)$FG[220]%#$FX[reset] '
PS1="%{]2;$title%}%{]1;$icon%}$prompt_"
unset title icon prompt_
else
# We are not on xterminal
PS1='%B%K{blue}%F{white}[%l] $(repo_char)%n@%m:%~ %f%k%F{yellow}%#%f%b '
fi
}
prompt_nice_setup
# vim: set ts=4 sw=4 tw=0 ft=zsh :

View File

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

View File

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