nice_prompt

Crates.ionice_prompt
lib.rsnice_prompt
version0.1.1
sourcesrc
created_at2020-08-07 13:44:45.582119
updated_at2020-08-08 18:21:23.717817
descriptionMinimal prompt for shell
homepage
repositoryhttps://github.com/samyakahuja/nice_prompt
max_upload_size
id273995
size34,251
Samyak Ahuja (samyakahuja)

documentation

README

nice_prompt

Minimal prompt for my shell.

asciicast

Usage

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/nice_prompt/
macOS /Users/Alice/Library/Application Support/nice_prompt/
Windows C:\Users\Alice\AppData\Roaming\nice_prompt

Install

  • Install rust

  • Install nice_prompt

    • using cargo

      cargo install nice_prompt
      
    • using git

      cargo install --force --git https://github.com/samyakahuja/nice_prompt.git
      
  • Put this in your .bashrc

    PS1='$(nice_prompt)'
    
Commit count: 16

cargo fmt