【问题标题】:How to change git bash to align left如何将 git bash 更改为左对齐
【发布时间】:2019-02-01 22:41:46
【问题描述】:

在我的版本中,代码向右对齐。 我希望它与左侧对齐, 我正在使用希伯来语(rtl 语言)的 Windows 10,但我在设置部分没有找到它。怎么改?

【问题讨论】:

  • Windows cmd? chcp 65001 能解决问题吗?
  • 很遗憾没有..
  • 这个问题与 Git 没有任何关系。顺便说一句,没有“git-bash”这样的东西。它的正式名称是"Git for Windows",它提供的 Bash 只是一个在 Windows 上运行的 Bash,仅此而已。在 Windows 上运行的任何其他 shell(包括旧的 Windows 命令提示符和新的 Windows Power Shell)都与 Bash 一样好,可以在终端中运行 Git 命令行。

标签: git git-bash


【解决方案1】:

在您的~/.minttyrc 文件中设置Bidi=0

https://mintty.github.io/mintty.1.html#CONFIGURATION

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-10-19
    • 2012-01-30
    • 2018-03-28
    • 2021-04-24
    • 2014-12-17
    • 1970-01-01
    • 2020-09-26
    • 2013-08-16
    相关资源
    最近更新 更多