哦,我的 zsh 显示奇怪的字符 '?'在终端 [英] oh my zsh showing weird character '?' on terminal

查看:82
本文介绍了哦,我的 zsh 显示奇怪的字符 '?'在终端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了 iTerm2 和 Oh-my-zsh.但是,自从我将 ZSH-THEME 更改为agnoster"后,出现了一个奇怪的问号.

附上截图.

我认为 powerline 会有所帮助,但似乎没有发生.任何人都可以帮助我吗?

解决方案

安装电力线修补字体将解决这个问题.

  • 很棒的 oh-my-zsh 主题
  • I have installed iTerm2 and Oh-my-zsh. However there is a weird question mark that is coming ever since I have changed ZSH-THEME to "agnoster".

    Attaching the screenshot for the same.

    I thought powerline would help but that doesn't seem to happen. Can can anyone help me with this?

    解决方案

    Installing a powerline patched font will solve this. This official documentation provides description about installing poweline fonts.

    There are two ways to enable powerline patched font in iTerm2.

    1. Set a powerline patched font as default.

    1. Set a powerline patched font for only Non-ASCII characters and use another font for code.

    Bonus:

    这篇关于哦,我的 zsh 显示奇怪的字符 '?'在终端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆