File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ themes/powerline-naked
7777themes/pure
7878themes/purity
7979themes/rjorgenson
80+ themes/robbyrussell
8081
8182# vendor init files
8283#
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ about-plugin 'Automatic completion of aliases'
99
1010# Automatically add completion for all aliases to commands having completion functions
1111function _bash-it-component-completion-callback-on-init-aliases() {
12- local namespace=" alias_completion"
12+ local aliasCommandFunction namespace=" alias_completion"
1313 local tmp_file completion_loader alias_name line completions chars
1414 local alias_arg_words new_completion compl_func compl_wrapper alias_defn
1515
Original file line number Diff line number Diff line change 11# 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.
43source " ${BASH_IT?} /themes/powerline/powerline.base.bash"
54
65function __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 )
109 IFS=" ${OLD_IFS} "
1110 local separator=" "
1211 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
33SCM_THEME_PROMPT_DIRTY=" ${bold_yellow} ✗"
44SCM_THEME_PROMPT_CLEAN=" ${bold_green} ✓"
55SCM_THEME_PROMPT_PREFIX=" ${bold_blue} scm:("
@@ -22,7 +22,7 @@ function git_prompt_info() {
2222}
2323
2424function 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} "
2626}
2727
2828PROMPT_COMMAND=prompt_command
You can’t perform that action at this time.
0 commit comments