summaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@fon.com>2016-02-12 12:13:32 +0100
committerEkaitz Zárraga <ekaitz.zarraga@fon.com>2016-02-12 12:13:32 +0100
commitd9349e417b3ec96d4a63d34888739aa967e1cdd9 (patch)
treeacd355957c8c06cf73c927ef57831dd658175e38 /bash
parentc0dd0555b0ee30ad11cd09ccd88da5abbafc164d (diff)
Bash profile and load git branch prompt
Diffstat (limited to 'bash')
-rw-r--r--bash/.bash_profile5
1 files changed, 5 insertions, 0 deletions
diff --git a/bash/.bash_profile b/bash/.bash_profile
new file mode 100644
index 0000000..dc67a0c
--- /dev/null
+++ b/bash/.bash_profile
@@ -0,0 +1,5 @@
+# Load in the git branch prompt script.
+source ~/.git-prompt.sh
+#PS1="\[$GREEN\]\t\[$RED\]-\[$BLUE\]\u\[$YELLOW\]\[$YELLOW\]\w\[\033[m\]\[$MAGENTA\]\$(__git_ps1)\[$WHITE\]\$ "
+PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$(__git_ps1)\[$WHITE\]\$ "
+