Skip to content

Commit 09bd63c

Browse files
committed
theme/gitline: set default $POWERLINE_PROMPT
1 parent 64c6c93 commit 09bd63c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

themes/gitline/gitline.theme.bash

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#!/usr/bin/env bash
2-
3-
. "$BASH_IT/themes/gitline/powerline.base.bash"
1+
# shellcheck shell=bash
2+
# shellcheck disable=SC2034 # Expected behavior for themes.
3+
# shellcheck source-path=SCRIPTDIR/../gitline
4+
source "${BASH_IT?}/themes/gitline/powerline.base.bash"
45

56
#For the logo(Uncomment if you want a logo before your name)
67
#PROMPT_DISTRO_LOGO="💻"
@@ -67,5 +68,6 @@ IN_VIM_THEME_PROMPT_TEXT="vim"
6768
IN_TOOLBOX_THEME_PROMPT_COLOR=125
6869
IN_TOOLBOX_THEME_PROMPT_TEXT=""
6970

71+
: "${POWERLINE_PROMPT:="user_info scm python_venv ruby node cwd"}"
7072

7173
safe_append_prompt_command __powerline_prompt_command

0 commit comments

Comments
 (0)