1 个不稳定版本
0.1.2 | 2024年4月27日 |
---|
#349 in 配置
10KB
252 行
Generate colorful prompts for the terminal.
## Generate the config:
psprompt --generate > ~/.config/psprompt.toml
## Apply to the current session only:
eval $(psprompt)
## Apply to new sessions:
echo 'eval $(psprompt)' >> ~/.bashrc
Usage: psprompt [OPTIONS]
Options:
--config <CONFIG>
Config file (default: ~/.config/psprompt.toml)
--generate
Print template config file
-s, --style <STYLE>
Style
[possible values: double, extended, full, normal, micro, nano]
-U, --user <USER>
User name
-H, --host <HOST>
Host name
-L, --location <LOCATION>
Location
-h, --help
Print help (see a summary with '-h')
-V, --version
Print version
依赖项
~1.4–2.2MB
~42K SLoC