Minimal prompt for my shell.
``` USAGE: nice_prompt [FLAGS]
FLAGS:
-h, --help Prints help information
-l, --logging Stores logging outupt in a cache directory.
-V, --version Prints version information
```
To log use the -l
flag. Logs are present at following paths:
| Platform | Example | | ------- | ----------------------------------------------------- | | Linux | /home/alice/.config/niceprompt/ | | macOS | /Users/Alice/Library/Application Support/niceprompt/ | | Windows | C:\Users\Alice\AppData\Roamingnice_prompt |
Install nice_prompt
using cargo
shell
cargo install nice_prompt
using git
shell
cargo install --force --git https://github.com/samyakahuja/nice_prompt.git
Put this in your .bashrc
shell
PS1='$(nice_prompt)'