漂亮的,最小的和快速的提示各种炮弹
pure的Python项目详细描述
纯
Pretty, minimal and fast prompt for various shell.
原始设计由sindresorhus/pure。
目标
Support various shells as possible with only one codebase.
我熟悉其中的一些(bash
,zsh
,fish
),但我希望有人能帮助我支持另一个(elvish
,ksh
,powershell
,tcsh
)。
功能
Feature | ^{ | ^{ | ^{ | ^{ | ^{ | ^{ | ^{ |
---|---|---|---|---|---|---|---|
Excellent prompt character ^{ | ✔ | ✔ | ✔ | ||||
Display current directory tail | ✔ | ✔ | ✔ | ||||
Display ^{ | ✔ | ✔ | ✔ | ||||
Display ^{ | ✔ | ✔ | ✔ | ||||
Display ^{ (commits to push) | |||||||
Display ^{ (commits to pull) | |||||||
Change ^{ when previous command has failed | ✔ | ✖ | ✔ | ✔ | |||
Update terminal title with current folder and command | |||||||
Display username and hostname when in an ^{ | |||||||
Display duration when command run more that ^{ | |||||||
Display ^{ | ✔ | ✔ | ✔ | ||||
Fine control over colors | |||||||
Right prompt control | |||||||
Display ^{ for non-insert mode |
安装
在大量开发的情况下,请自行承担使用风险!
要求:git
和pip
。
git clone git@github.com:edouard-lopez/pure.git $HOME/.pure
pip install pure --user
鱼
fish $HOME/.pure/install/configure.fish
zsh
zsh $HOME/.pure/install/configure.zsh
猛击
bash $HOME/.pure/install/configure.bash
精灵
elvish $HOME/.pure/install/configure.elv
许可证
麻省理工学院版权所有。