Skip to content
/ ps1 Public
forked from stilvoid/ps1

An informational command prompt for bash

License

Notifications You must be signed in to change notification settings

ritesh/ps1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PS1

My custom PS1 prompt.

Includes:

  • Currently selected AWS profile
  • Git branch if in a git repo directory
  • Summary of current git status if in a git repo
  • Current python virtualenv
  • Username, hostname and current path

It's extensible and customisable. Have a look at plugins.sh

It looks like this:

screenshot

Usage

Put the following somewhere in your .bashrc

ps1_prompt="\u> "  # Or whatever you like to have on the input line
. /path/to/ps1.sh

About

An informational command prompt for bash

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%