Skip to content

Instantly share code, notes, and snippets.

View diegoduncan21's full-sized avatar

Diego diegoduncan21

  • Argentina, Corrientes
View GitHub Profile
@diegoduncan21
diegoduncan21 / gist:8a7161421b24d6e3cacb7f3c65acf47f
Created September 16, 2016 14:25
muestra el virtualenv y la rama en la que estas en el prompt
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the active virtualenv
# * the branch/status of the current git repository
# * the return value of the previous command
# * the fact you just came from Windows and are used to having newlines in
# your prompts.