Skip to content

stilvoid/ps1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3cd9aa9 · Apr 30, 2020

History

16 Commits
Apr 9, 2018
Jun 21, 2018
Apr 30, 2020
Apr 30, 2020
Jun 21, 2018

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages