File tree Expand file tree Collapse file tree
doubletime_multiline_pyonly Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# shellcheck shell=bash
22
3+ case $HISTCONTROL in
4+ * ' auto' * )
5+ : # Do nothing, already configured.
6+ ;;
7+ * )
8+ # Append new history lines to history file
9+ HISTCONTROL=" ${HISTCONTROL:- }${HISTCONTROL: +: } autosave"
10+ ;;
11+ esac
12+ safe_append_preexec ' _bash_it_history_auto_load'
13+ safe_append_prompt_command ' _bash_it_history_auto_save'
14+
315SCM_THEME_PROMPT_DIRTY=' '
416SCM_THEME_PROMPT_CLEAN=' '
517SCM_GIT_CHAR=" ${bold_cyan} ±${normal} "
2941fi
3042
3143function prompt_setter() {
32- # Save history
33- _save-and-reload-history 1
3444 PS1="
3545$( clock_prompt) $( scm_char) [${THEME_PROMPT_HOST_COLOR} \u@${THEME_PROMPT_HOST} $reset_color ] $( virtualenv_prompt) $( ruby_version_prompt) \w
3646$( scm_prompt) $reset_color $ "
Original file line number Diff line number Diff line change 22
33source " $BASH_IT /themes/doubletime/doubletime.theme.bash"
44
5+ case $HISTCONTROL in
6+ * ' auto' * )
7+ : # Do nothing, already configured.
8+ ;;
9+ * )
10+ # Append new history lines to history file
11+ HISTCONTROL=" ${HISTCONTROL:- }${HISTCONTROL: +: } autosave"
12+ ;;
13+ esac
14+ safe_append_preexec ' _bash_it_history_auto_load'
15+ safe_append_prompt_command ' _bash_it_history_auto_save'
16+
517function prompt_setter() {
6- # Save history
7- _save-and-reload-history 1
818 PS1="
919$( clock_prompt) $( scm_char) [$THEME_PROMPT_HOST_COLOR \u@${THEME_PROMPT_HOST} $reset_color ] $( virtualenv_prompt) $( ruby_version_prompt)
1020\w
Original file line number Diff line number Diff line change 22
33source " $BASH_IT /themes/doubletime/doubletime.theme.bash"
44
5+ case $HISTCONTROL in
6+ * ' auto' * )
7+ : # Do nothing, already configured.
8+ ;;
9+ * )
10+ # Append new history lines to history file
11+ HISTCONTROL=" ${HISTCONTROL:- }${HISTCONTROL: +: } autosave"
12+ ;;
13+ esac
14+ safe_append_preexec ' _bash_it_history_auto_load'
15+ safe_append_prompt_command ' _bash_it_history_auto_save'
16+
517function prompt_setter() {
6- # Save history
7- _save-and-reload-history 1
818 PS1="
919$( clock_prompt) $( scm_char) [$THEME_PROMPT_HOST_COLOR \u@${THEME_PROMPT_HOST} $reset_color ] $( virtualenv_prompt)
1020\w
You can’t perform that action at this time.
0 commit comments