2022-01-15 15:46:11 +09:00
|
|
|
# -*- mode: bash -*-
|
2017-10-10 18:07:01 +07:00
|
|
|
# n0qorg theme by Florian Baumann <flo@noqqe.de>
|
|
|
|
|
|
|
|
## look-a-like
|
|
|
|
# host directory (branch*)»
|
|
|
|
# for example:
|
|
|
|
# ananas ~/Code/bash-it/themes (master*)»
|
|
|
|
function prompt_command() {
|
|
|
|
PS1="${bold_blue}[$(hostname)]${normal} \w${normal} ${bold_white}[$(git_prompt_info)]${normal}» "
|
|
|
|
}
|
|
|
|
|
2021-12-28 09:19:44 +09:00
|
|
|
_omb_util_add_prompt_command prompt_command
|
2017-10-10 18:07:01 +07:00
|
|
|
|
|
|
|
## 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=")"
|