2 releases

new 0.1.3 Nov 7, 2024
0.1.2 Apr 27, 2024

#659 in Configuration

Download history 6/week @ 2024-09-19 2/week @ 2024-09-26

70 downloads per month

Unlicense

11KB
258 lines

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

Dependencies

~1.4–2.1MB
~41K SLoC