#!/usr/bin/env bash # n0qorg theme by Florian Baumann ## look-a-like # host directory (branch*)» # for example: # ananas ~/Code/bash-it/themes (master*)» function prompt_command() { ############ STACK_TRACE_BUILDER ##################### Function_Name="${FUNCNAME[0]}" Function_PATH="${Function_PATH}/${Function_Name}" ###################################################### PS1="${bold_blue}[$(hostname)]${normal} \w${normal} ${bold_white}[$(git_prompt_info)]${normal}» " ############### Stack_TRACE_BUILDER ################ Function_PATH="$( dirname ${Function_PATH} )" #################################################### } safe_append_prompt_command prompt_command ## git-theme # feel free to change git chars. GIT_THEME_PROMPT_DIRTY="${bold_blue}*${bold_white}" GIT_THEME_PROMPT_CLEAN="" GIT_THEME_PROMPT_PREFIX="${bold_blue}(${bold_white}" GIT_THEME_PROMPT_SUFFIX="${bold_blue})" ## alternate chars # SCM_THEME_PROMPT_DIRTY="*" SCM_THEME_PROMPT_CLEAN="" SCM_THEME_PROMPT_PREFIX="(" SCM_THEME_PROMPT_SUFFIX=")"