Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/grails/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 使用oh my zsh在zsh提示符上显示特殊字符_Linux_Shell_Zsh_Redhat - Fatal编程技术网

Linux 使用oh my zsh在zsh提示符上显示特殊字符

Linux 使用oh my zsh在zsh提示符上显示特殊字符,linux,shell,zsh,redhat,Linux,Shell,Zsh,Redhat,我刚刚开始使用来自bash的zsh作为shell。我使用的是RedHat Linux工作站版本6.4。我已经安装了所有相关的区域设置,但是当我移动到一个zsh提示符并选择任何主题时,我有一个类似于这样的PS1 ââ[name@host] - [~/tars] - [2013-11-05 09:50:26] ââ[0] 我不确定是什么导致了这些特殊的角色。另一个例子: name@host ~/tars » echo $PS1

我刚刚开始使用来自bash的zsh作为shell。我使用的是RedHat Linux工作站版本6.4。我已经安装了所有相关的区域设置,但是当我移动到一个zsh提示符并选择任何主题时,我有一个类似于这样的PS1

ââ[name@host] - [~/tars] - [2013-11-05 09:50:26]
ââ[0] 
我不确定是什么导致了这些特殊的角色。另一个例子:

name@host ~/tars » echo $PS1                                                                                                                                                                                                    1 âµ
%{$fg[$NCOLOR]%}%n%{$fg[green]%}@%m%{$reset_color%} %~ \
$(git_prompt_info)\
%{$fg[red]%}%(!.#.»)%{$reset_color%} 

有没有我应该安装的东西遗漏了

根据您使用的提示主题,您需要一种支持这些字符的字体,或者需要为终端安装其他字体,如字体。

根据您使用的提示主题,您需要一种支持这些字符的字体,或者需要为终端安装其他字体,如字体