Comments (10)
@spencerwooo @printempw 多谢两位,我这也没问题了
from dowww.
这个是一个 zsh-autosuggestion
插件的问题,我也遇到了,目前不知道怎么解决,这个 Issue 我先开放着,遇到新的解决方法我也会在这里更新。
from dowww.
问题是我没有安装那个插件。。。本来不太确定有没有安,然后去文件夹 ~/.oh-my-zsh/custom/plugins
里看了一下确实没有
from dowww.
看一下 .zshrc
里面的插件有没有,我不确定是不是这个的问题,因为这个空格问题时好时坏,我只是觉得是由于 zsh-autosuggestions
引起的,如果我有新的发现我也会更新在这里的。
from dowww.
from dowww.
我使用 Hyper 时也出现过这个问题,这似乎是 Hyper 对于全角 Unicode 字符的支持不完善造成的。oh-my-zsh 的默认主题中的提示符中有个宽度为 2 个半角字符的 ➜
字符(~/.oh-my-zsh/themes/robbyrussell.zsh-theme
),我将其修改为 >
后光标位置就正常了。
from dowww.
@printempw 原来如此,这个问题确实在我换掉 robbyrussell
主题之后解决了,看来问题确实出在这里,感谢。
@kerhbal 这个问题解决了,我将这部分也更新到参考文档里面。
谢谢两位的反馈。
from dowww.
@kerhbal 这部分内容的解决方案我更新到文档的这里了 > zsh & oh-my-zsh,希望您有时间试一下这个方法有没有什么缺陷,我自己尝试是完美解决了。如果没有什么问题的话我就关掉这个 Issue 了~
from dowww.
我使用 Hyper 时也出现过这个问题,这似乎是 Hyper 对于全角 Unicode 字符的支持不完善造成的。oh-my-zsh 的默认主题中的提示符中有个宽度为 2 个半角字符的
➜
字符(~/.oh-my-zsh/themes/robbyrussell.zsh-theme
),我将其修改为>
后光标位置就正常了。
好奇修改unicode是哪一项啊,不知道通过哪一项修改。
from dowww.
@Whale-fall 如果你说的是 oh-my-zsh
的默认主题修改哪里的话,就是在 robbyrussell.zsh-theme
里面第一行下图箭头所指位置,我将其改成了 $
,原来是全角箭头。
如果不是这样意思的话。。我也不知道了哈哈
from dowww.
Related Issues (20)
- WLS2 在 2004 版本后,使用一行命令即可直接安装
- 关于图形化界面配置方面的更新建议
- 想问一下vmmem进程消耗的内存怎么比wsl2实际使用的大呢?没有使用其他任何虚拟机
- 在 WSL 中运行 exe 遇到权限问题 HOT 4
- WSL 列出 Windows 文件颜色问题时,重启 WSL 的方式错误 HOT 1
- 配置 vscode 在中文标点符号处断句 HOT 1
- 更新到Windows Terminal Preview v0.11.1191.0后setting 的变化 HOT 9
- windows terminal选择新terminal的时候颜色异常 HOT 1
- 向 WSL 2 添加 USB 支持 HOT 1
- 关于 .wslconfig 文件的配置 HOT 1
- <主机名>.mshome.net 访问主机 HOT 5
- ls背景色问题 HOT 4
- 请教WSL安装arch后使用xfce桌面的问题 HOT 6
- 找不到 python-pip 包 Unable to locate package python-pip HOT 1
- 编译内核出错
- 图形化界面安装过程中 一个更方便的配置WSL2参数的方法
- wsl2使用windows代理 HOT 2
- 增加wslg的介绍
- WSL2 中的127.0.0.1 和 localhost
- 隔壁仓库的powershell美化教程错误
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dowww.