mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-03 08:28:26 +00:00
fix(jonathan): avoid unicode box-drawing in ghostty
This commit is contained in:
committed by
GitHub
parent
7b4ce37547
commit
c95203294b
@@ -60,7 +60,14 @@ ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[yellow]%} %{%G═%}"
|
|||||||
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[cyan]%} %{%G✭%}"
|
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[cyan]%} %{%G✭%}"
|
||||||
|
|
||||||
# Use extended characters to look nicer if supported.
|
# Use extended characters to look nicer if supported.
|
||||||
if [[ "${langinfo[CODESET]}" = UTF-8 ]]; then
|
if [[ "${TERM_PROGRAM:-}" = ghostty ]]; then
|
||||||
|
PR_SET_CHARSET=""
|
||||||
|
PR_HBAR="-"
|
||||||
|
PR_ULCORNER="-"
|
||||||
|
PR_LLCORNER="-"
|
||||||
|
PR_LRCORNER="-"
|
||||||
|
PR_URCORNER="-"
|
||||||
|
elif [[ "${langinfo[CODESET]}" = UTF-8 ]]; then
|
||||||
PR_SET_CHARSET=""
|
PR_SET_CHARSET=""
|
||||||
PR_HBAR="─"
|
PR_HBAR="─"
|
||||||
PR_ULCORNER="┌"
|
PR_ULCORNER="┌"
|
||||||
|
|||||||
Reference in New Issue
Block a user