sh-c"$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" 1. 安装Oh My Zsh 主题 spaceship 克隆主题下来: sudo gitclonehttps://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" 1. 将克隆下来的主题软连接到 zsh 的主题文件...
if:"[[ $ZSH_THEME_STYLE == spaceship ]]" zplug "caiogondim/bullet-train.zsh", ...
if:"[[ $ZSH_THEME_STYLE == spaceship ]]" zplug "caiogondim/bullet-train.zsh", ...
4.配置 ZSH 主题 Spaceship ZSH Oh My ZSH 默认有很多主题,但今天要说的是可以跟 Powerlevel9k 相媲美的主题 Spaceship ZSH 按照官方文档进行安装 oh-my-zsh Clone this repo: git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1 Symlink s...
主题你可以到https://github.com/ohmyzsh/ohmyzsh/wiki/Themes自己选你喜欢的. 我比较常用的是默认的,还以后bira ys agnoster这几个.其他的,也不高兴再去找了. 插件的使用, github仓库都有说明的. spaceship 主题 #1. Clone仓库:git clone https://ghproxy.com/https://github.com/spaceship-prompt/spaceshi...
zsh可以算是shell里最好用的了,而zsh里支持各种各样的主题,之前一直用的都是默认的主题,后来偶然在git上看到spaceship主题,比一般的主题要好看。 支持在命令行上显示docker版本,npm信息,git详细,emoji等。。。 git repo地址如下: https://github.com/denysdovhan/spaceship-zsh-theme ...
# theme spaceship cnpm i -g spaceship-prompt # config ~/.zshrc ZSH_THEME="spaceship" autoload -U promptinit; promptinit prompt spaceship Plugin# install plugins # install plugins git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins...
oh-my-zsh Installing usingcurl: curl -o - https://raw.githubusercontent.com/denysdovhan/spaceship-zsh-theme/master/install.zsh|zsh Installing usingwget: wget -O - https://raw.githubusercontent.com/denysdovhan/spaceship-zsh-theme/master/install.zsh|zsh ...
docker.sh)"-- \ -t https://github.com/denysdovhan/spaceship-prompt \ -a'SPACESHIP_PROMPT_ADD_NEWLINE="false"'\ -a'SPACESHIP_PROMPT_SEPARATE_LINE="false"'\ -p git \ -p ssh-agent \ -p https://github.com/zsh-users/zsh-autosuggestions \ -p https://github.com/zsh-users/zsh-...
$ sudo usermod -s /bin/zsh username 重启后图标会变成这样,代表安装成功 修改终端主题和配色 # 通过修改~/.zshrc来进行配置,修改如下 ZSH_THEME="agnoster" 安装spaceship 主题 克隆仓库 git clone [<https://github.com/spaceship-prompt/spaceship-prompt.git>](<https://github.com/spaceship-prompt/spacesh...