mirror of
https://github.com/akelge/zsh
synced 2025-08-15 06:28:24 +00:00
Small Darwin changes
This commit is contained in:
@ -2,11 +2,12 @@
|
|||||||
function prompt_nice_setup {
|
function prompt_nice_setup {
|
||||||
if `fancyTerm`; then
|
if `fancyTerm`; then
|
||||||
title="::: %n at %m in %. :::"
|
title="::: %n at %m in %. :::"
|
||||||
|
icon="%m::%."
|
||||||
prompt_='$FX[bold]$FX[italic]$BG[062]@%m::%2~$FX[reset]
|
prompt_='$FX[bold]$FX[italic]$BG[062]@%m::%2~$FX[reset]
|
||||||
$FX[bold]$(repo_char)$FG[220]%#$FX[reset] '
|
$FX[bold]$(repo_char)$FG[220]%#$FX[reset] '
|
||||||
|
|
||||||
PS1="%{]2;$title%}$prompt_"
|
PS1="%{]2;$title%}%{]1;$icon%}$prompt_"
|
||||||
unset title prompt_
|
unset title icon prompt_
|
||||||
|
|
||||||
else
|
else
|
||||||
# We are not on xterminal
|
# We are not on xterminal
|
||||||
|
Reference in New Issue
Block a user