FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
bash-it/themes/bobby-python/bobby-python.theme.bash at master · stringertheory/bash-it · GitHub
stringertheory
bash-it
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
bash-it
/
themes
/
bobby-python
/
bobby-python.theme.bash
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (15 loc) · 753 Bytes
Breadcrumbs
bash-it
/
themes
/
bobby-python
/
bobby-python.theme.bash
Copy path
File metadata and controls
19 lines (15 loc) · 753 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!
/usr/bin/env bash
SCM_THEME_PROMPT_DIRTY=
"
${red}
✗
"
SCM_THEME_PROMPT_CLEAN=
"
${bold_green}
✓
"
SCM_THEME_PROMPT_PREFIX=
"
|
"
SCM_THEME_PROMPT_SUFFIX=
"
${green}
|
"
GIT_THEME_PROMPT_DIRTY=
"
${red}
✗
"
GIT_THEME_PROMPT_CLEAN=
"
${bold_green}
✓
"
GIT_THEME_PROMPT_PREFIX=
"
${green}
|
"
GIT_THEME_PROMPT_SUFFIX=
"
${green}
|
"
CONDAENV_THEME_PROMPT_SUFFIX=
"
|
"
function
prompt_command()
{
#
PS1="${bold_cyan}$(scm_char)${green}$(scm_prompt_info)${purple}$(ruby_version_prompt) ${yellow}\h ${reset_color}in ${green}\w ${reset_color}\n${green}→${reset_color} "
PS1=
"
\n
${yellow}
$(
python_version_prompt
)
${purple}
\h
${reset_color}
in
${green}
\w\n
${bold_cyan}
$(
scm_char
)
${green}
$(
scm_prompt_info
)
${green}
→
${reset_color}
"
}
PROMPT_COMMAND=prompt_command
;
Back
|
FazBrowse Home
|
New Git URL