mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
fix(jonathan): avoid unicode box-drawing in ghostty
This commit is contained in:
1 parent
7b4ce37547
commit
c95203294b
1 file changed
+8
-1
@@ -60,7 +60,14 @@ ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[yellow]%} %{%G═%}"
|
||||
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[cyan]%} %{%G✭%}"
|
||||
|
||||
# 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_HBAR="─"
|
||||
PR_ULCORNER="┌"
|
||||
|
||||
Reference in new issue
Block a user