Compare commits
No commits in common. "xora" and "master" have entirely different histories.
|
|
@ -1,21 +0,0 @@
|
||||||
# shellcheck shell=bash
|
|
||||||
# shellcheck disable=SC2034 # Expected behavior for themes.
|
|
||||||
|
|
||||||
function prompt_setter() {
|
|
||||||
local scm_prompt_info ruby_version_prompt
|
|
||||||
scm_prompt_info="$(scm_prompt_info)"
|
|
||||||
ruby_version_prompt="$(ruby_version_prompt)"
|
|
||||||
_save-and-reload-history 1 # Save history
|
|
||||||
PS1="[${blue?}\u${reset_color?}@${green?}\H${reset_color?}] ${yellow?}\w${reset_color?}${scm_prompt_info}${ruby_version_prompt} ${reset_color?}"
|
|
||||||
PS2='> '
|
|
||||||
PS4='+ '
|
|
||||||
}
|
|
||||||
|
|
||||||
safe_append_prompt_command prompt_setter
|
|
||||||
|
|
||||||
SCM_THEME_PROMPT_DIRTY=" ✗"
|
|
||||||
SCM_THEME_PROMPT_CLEAN=" ✓"
|
|
||||||
SCM_THEME_PROMPT_PREFIX=" ("
|
|
||||||
SCM_THEME_PROMPT_SUFFIX=")"
|
|
||||||
RVM_THEME_PROMPT_PREFIX=" ("
|
|
||||||
RVM_THEME_PROMPT_SUFFIX=")"
|
|
||||||
Loading…
Reference in New Issue