小编def*_*n_6的帖子

Zsh在输出中重复命令

如果这是对已经提出的问题的重复,我表示歉意.我查看了与我类似的问题并尝试了解决方案,但没有任何工作.

我在Ubuntu上,并在终端上使用zsh和oh-my-zsh.如果我输入命令ls,例如它第一次输出这样的输出%ls作为输出的第一行.这让人分心,我想摆脱它.

这是一个例子:

Imgur的屏幕截图

这是我的~/.zshrc档案:

# Path to your oh-my-zsh installation.
export ZSH=/home/user/.oh-my-zsh

# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme    each
# time that oh-my-zsh is loaded.
ZSH_THEME="agnoster"
#default user
DEFAULT_USER=""

# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"

# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"

# Comment this out …
Run Code Online (Sandbox Code Playgroud)

zsh zshrc

4
推荐指数
1
解决办法
1230
查看次数

标签 统计

zsh ×1

zshrc ×1