Clean barbuk theme (#1766)
parent
3c00fe6dbb
commit
ae9da3b62b
|
|
@ -27,6 +27,7 @@ lint_clean_files.sh
|
|||
#
|
||||
themes/90210
|
||||
themes/powerline
|
||||
themes/barbuk
|
||||
|
||||
# plugins
|
||||
#
|
||||
|
|
|
|||
|
|
@ -51,10 +51,10 @@ function _git-uptream-remote-logo {
|
|||
remote_domain=${remote_domain//\//}
|
||||
|
||||
case $remote_domain in
|
||||
github ) SCM_GIT_CHAR="$SCM_GIT_CHAR_GITHUB";;
|
||||
gitlab ) SCM_GIT_CHAR="$SCM_GIT_CHAR_GITLAB";;
|
||||
bitbucket ) SCM_GIT_CHAR="$SCM_GIT_CHAR_BITBUCKET";;
|
||||
* ) SCM_GIT_CHAR="$SCM_GIT_CHAR_DEFAULT";;
|
||||
github) SCM_GIT_CHAR="$SCM_GIT_CHAR_GITHUB" ;;
|
||||
gitlab) SCM_GIT_CHAR="$SCM_GIT_CHAR_GITLAB" ;;
|
||||
bitbucket) SCM_GIT_CHAR="$SCM_GIT_CHAR_BITBUCKET" ;;
|
||||
*) SCM_GIT_CHAR="$SCM_GIT_CHAR_DEFAULT" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
@ -104,7 +104,7 @@ function _prompt {
|
|||
fi
|
||||
|
||||
PS1="\\n${ssh_info} ${purple}$(scm_char)${python_venv}${dir_color}\\w${normal}$(scm_prompt_info)${command_duration}${exit_code}"
|
||||
[[ ${#PS1} -gt $((COLUMNS*2)) ]] && wrap_char="\\n"
|
||||
[[ ${#PS1} -gt $((COLUMNS * 2)) ]] && wrap_char="\\n"
|
||||
PS1="${PS1}${wrap_char}❯${normal} "
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue