blob: 2b9def6cd65859c322473d7f54da55771d4ffe06 [file] [log] [blame]
Florian Baumann92b8d6d2010-11-24 16:22:05 +01001#!/bin/bash
2# n0qorg theme by Florian Baumann <flo@noqqe.de>
3
4## look-a-like
5# host directory (branch*)»
6# for example:
7# ananas ~/Code/bash-it/themes (master*)»
JFSIII1b7c9412011-06-17 19:45:21 -04008function prompt_command() {
9 PS1="${bold_blue}[$(hostname)]${normal} \w${normal} ${bold_white}[$(git_prompt_info)]${normal}» "
10}
11
12PROMPT_COMMAND=prompt_command;
Florian Baumann92b8d6d2010-11-24 16:22:05 +010013
14## git-theme
15# feel free to change git chars.
16GIT_THEME_PROMPT_DIRTY="${bold_blue}*${bold_white}"
17GIT_THEME_PROMPT_CLEAN=""
18GIT_THEME_PROMPT_PREFIX="${bold_blue}(${bold_white}"
19GIT_THEME_PROMPT_SUFFIX="${bold_blue})"
20
21## alternate chars
22#
23SCM_THEME_PROMPT_DIRTY="*"
24SCM_THEME_PROMPT_CLEAN=""
25SCM_THEME_PROMPT_PREFIX="("
26SCM_THEME_PROMPT_SUFFIX=")"