zsh可以算是shell里最好用的了,而zsh里支持各种各样的主题,之前一直用的都是默认的主题,后来偶然在git上看到spaceship主题,比一般的主题要好看。 支持在命令行上显示docker版本,npm信息,git详细,emoji等。。。 git repo地址如下: https://github.com/denysdovhan/spaceship-zsh-theme 下面是截图:...
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 spaceship.zsh-theme to your oh-...
An“Oh My ZSH!”theme for Astronauts. Spaceship is a minimalistic, powerful and extremely customizable“Oh My ZSH!”theme. It combines everything you may need for convenient work, without unnecessary complications, like a real spaceship. Currently it shows: Current git branch. Git repo status: ...
if:"[[ $ZSH_THEME_STYLE == spaceship ]]" zplug "caiogondim/bullet-train.zsh", ...
安装Oh My Zsh 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" ...
首先是 oh-my-zsh 自带的 alias 插件,这些东西能让你在终端少打很多字:1. git 定义了有关 git ...
git clone [<https://github.com/spaceship-prompt/spaceship-prompt.git>](<https://github.com/spaceship-prompt/spaceship-prompt.git>) "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1 链接到 oh-my-zsh 自定义主题目录:spaceship.zsh-theme
编辑$PS1
增加/减少数字,布尔值,工作日,月份等)。系统剪贴板。项目地址:jeffreytse/zsh-vi-mode ...