1
0
mirror of https://github.com/akelge/vim synced 2025-07-12 17:42:09 +00:00

Small Darwin changes

This commit is contained in:
2015-02-06 15:29:10 +00:00
parent 13f8c98b4f
commit 4686cb83e5
3 changed files with 3 additions and 2 deletions

View File

@ -2,11 +2,12 @@
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%}$prompt_"
unset title prompt_
PS1="%{]2;$title%}%{]1;$icon%}$prompt_"
unset title icon prompt_
else
# We are not on xterminal