小编Pau*_*aul的帖子

Typing 'git log --oneline' in oh-my-zsh pipes to 'less'

I just switched to Oh My Zsh and I'm using the Avit theme.

When I type git log --oneline my output seems to be piped to less. It does this for whatever theme I use.

When I used bash shell, it never cleared the screen to output those lines.

如何设置它以便它不会清除屏幕以输出行,而是在我键入命令后仅输出行?

这是一个截图供参考:

在此处输入图片说明

zsh oh-my-zsh

28
推荐指数
4
解决办法
5872
查看次数

标签 统计

oh-my-zsh ×1

zsh ×1