Skip to content

Commit a7c308a

Browse files
committed
clean up themes/powerline-naked
1 parent 1fe29be commit a7c308a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

themes/powerline-naked/powerline-naked.base.bash

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
# shellcheck shell=bash
22
# shellcheck disable=SC2034,SC1091 # Expected behavior for themes.
3-
# shellcheck source-path=themes/powerline/powerline.base.bash
43
source "${BASH_IT?}/themes/powerline/powerline.base.bash"
54

65
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)
109
IFS="${OLD_IFS}"
1110
local separator=""
1211
local pad_before_segment=" "

0 commit comments

Comments
 (0)