File tree 4 files changed +9
-9
lines changed
4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ themes/powerline-naked
77
77
themes/pure
78
78
themes/purity
79
79
themes/rjorgenson
80
+ themes/robbyrussell
80
81
81
82
# vendor init files
82
83
#
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ about-plugin 'Automatic completion of aliases'
9
9
10
10
# Automatically add completion for all aliases to commands having completion functions
11
11
function _bash-it-component-completion-callback-on-init-aliases() {
12
- local namespace=" alias_completion"
12
+ local aliasCommandFunction namespace=" alias_completion"
13
13
local tmp_file completion_loader alias_name line completions chars
14
14
local alias_arg_words new_completion compl_func compl_wrapper alias_defn
15
15
Original file line number Diff line number Diff line change 1
1
# shellcheck shell=bash
2
- # shellcheck disable=SC2034 # Expected behavior for themes.
3
- # shellcheck source-path=SCRIPTDIR/../powerline
2
+ # shellcheck disable=SC2034,SC1091 # Expected behavior for themes.
4
3
source " ${BASH_IT?} /themes/powerline/powerline.base.bash"
5
4
6
5
function __powerline_left_segment {
7
- local OLD_IFS=" ${IFS} "
8
- IFS= " |"
9
- local params=(" $1 " )
6
+ local OLD_IFS=" ${IFS} " params=()
7
+ # shellcheck disable=SC2206 # not needed because we are splitting on "|"
8
+ IFS= " | " params=($1 )
10
9
IFS=" ${OLD_IFS} "
11
10
local separator=" "
12
11
local pad_before_segment=" "
Original file line number Diff line number Diff line change 1
- #! /usr/bin/env bash
2
-
1
+ # shellcheck shell= bash
2
+ # shellcheck disable=SC2034,SC2154
3
3
SCM_THEME_PROMPT_DIRTY=" ${bold_yellow} ✗"
4
4
SCM_THEME_PROMPT_CLEAN=" ${bold_green} ✓"
5
5
SCM_THEME_PROMPT_PREFIX=" ${bold_blue} scm:("
@@ -22,7 +22,7 @@ function git_prompt_info() {
22
22
}
23
23
24
24
function prompt_command() {
25
- PS1=" $( conda_or_venv_prompt) ${bold_green} ➜ ${bold_cyan} \W${reset_color} $( scm_prompt_info) ${normal} "
25
+ PS1=" $( conda_or_venv_prompt) ${bold_green} ➜ ${bold_cyan} \W${reset_color} $( scm_prompt_info) ${normal} "
26
26
}
27
27
28
28
PROMPT_COMMAND=prompt_command
You can’t perform that action at this time.
0 commit comments