Created
June 21, 2018 20:44
-
-
Save abbotto/3967d71e72be928d226fe34965e0a4c7 to your computer and use it in GitHub Desktop.
Terminus Them for Bash-it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
SCM_THEME_PROMPT_DIRTY=" ${red}✗" | |
SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓" | |
SCM_THEME_PROMPT_PREFIX=" ${green}" | |
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}" | |
RVM_THEME_PROMPT_PREFIX=" ${green}" | |
RVM_THEME_PROMPT_SUFFIX="${green}" | |
__battery_state() { | |
if [[ "${THEME_BATTERY_PERCENTAGE_CHECK}" = true ]]; then | |
printf " | $(battery_char)%" | |
fi | |
} | |
function prompt_command() { | |
PS1="\n${gray}\h${reset_color} | $(clock_prompt)${yellow}$(ruby_version_prompt)${reset_color}$(__battery_state)\n${reset_color}${cyan}\w\n${bold_cyan}$(scm_prompt_char_info) ${yellow}→${reset_color} " | |
} | |
THEME_SHOW_CLOCK_CHAR=${THEME_SHOW_CLOCK_CHAR:-"true"} | |
THEME_CLOCK_CHAR_COLOR=${THEME_CLOCK_CHAR_COLOR:-"$red"} | |
THEME_CLOCK_COLOR=${THEME_CLOCK_COLOR:-"$bold_cyan"} | |
THEME_CLOCK_FORMAT=${THEME_CLOCK_FORMAT:-"%Y-%m-%d %H:%M:%S"} | |
safe_append_prompt_command prompt_command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
do u know to configure how to get another website of skins to choose to download when pressing the y gamepad button rather than the already 2 listed websites to download skins when pressing the y gamepad button?thanks