We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fe29be commit a7c308aCopy full SHA for a7c308a
themes/powerline-naked/powerline-naked.base.bash
@@ -1,12 +1,11 @@
1
# shellcheck shell=bash
2
# shellcheck disable=SC2034,SC1091 # Expected behavior for themes.
3
-# shellcheck source-path=themes/powerline/powerline.base.bash
4
source "${BASH_IT?}/themes/powerline/powerline.base.bash"
5
6
function __powerline_left_segment {
7
- local OLD_IFS="${IFS}"
8
- IFS="|"
9
- local params=("$1")
+ local OLD_IFS="${IFS}" params=()
+ # shellcheck disable=SC2206 # not needed because we are splitting on "|"
+ IFS="|" params=($1)
10
IFS="${OLD_IFS}"
11
local separator=""
12
local pad_before_segment=" "
0 commit comments