oh-my-zsh 最新的小圆圈功能是干嘛的?

图片.png

不知不觉,左侧多了一个小圆圈,这个功能用来做什么?

阅读 2.1k
1 个回答

vscode release notes v1.70

Shell integration enabled by default

Shell integration's automatic injection that was moved out of preview last release is now enabled by default. For supported shell setups (most bash/zsh/pwsh configurations), it should all just work without any changes and you should see command decorations:

vscode release notes v1.69

COMMAND DECORATIONS AND THE OVERVIEW RULER

Shell integration has the ability to get the exit codes of the commands run within the terminal. Using this information, decorations are added to the left of the line to indicate whether the command succeeded or failed. These decorations also show up in the overview ruler in the scroll bar, just like in the editor.

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题