1
0
mirror of https://github.com/akelge/zsh synced 2025-07-03 13:09:07 +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,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 :