Skip to content

Instantly share code, notes, and snippets.

View rofc's full-sized avatar
💬
how can I help?

Roberto O. Fernández Crisial rofc

💬
how can I help?
View GitHub Profile
@rofc
rofc / git_svn_bash_prompt.sh
Last active August 15, 2018 19:47 — forked from woods/git_svn_bash_prompt.sh
Set color bash prompt according to git/svn branch, and return status of last command.
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the branch/status of the current git repository
# * the branch of the current subversion repository
# * the return value of the previous command
#
# USAGE: