Skip to content

Commit

Permalink
theme/brainy
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelicWizard committed Feb 9, 2022
1 parent 8639ddc commit 08e486e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions themes/brainy/brainy.theme.bash
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ function ____brainy_top_left_parse() {
read -r -a args <<< "$@"
IFS="${ifs_old}"
if [[ -n "${args[3]:-}" ]]; then
_TOP_LEFT+="${args[2]}${args[3]}"
_TOP_LEFT+="${args[2]?}${args[3]?}"
fi
_TOP_LEFT+="${args[0]?}${args[1]?}"
_TOP_LEFT+="${args[0]?}${args[1]:-}"
if [[ -n "${args[4]:-}" ]]; then
_TOP_LEFT+="${args[2]}${args[4]}"
_TOP_LEFT+="${args[2]?}${args[4]?}"
fi
_TOP_LEFT+=" "
}
Expand All @@ -30,11 +30,11 @@ function ____brainy_top_right_parse() {
IFS="${ifs_old}"
_TOP_RIGHT+=" "
if [ -n "${args[3]:-}" ]; then
_TOP_RIGHT+="${args[2]}${args[3]}"
_TOP_RIGHT+="${args[2]?}${args[3]?}"
fi
_TOP_RIGHT+="${args[0]?}${args[1]?}"
_TOP_RIGHT+="${args[0]?}${args[1]:-}"
if [ -n "${args[4]:-}" ]; then
_TOP_RIGHT+="${args[2]}${args[4]}"
_TOP_RIGHT+="${args[2]?}${args[4]?}"
fi
__TOP_RIGHT_LEN="$((__TOP_RIGHT_LEN + ${#args[1]} + ${#args[3]} + ${#args[4]} + 1))"
((__SEG_AT_RIGHT += 1))
Expand Down

0 comments on commit 08e486e

Please sign in to comment.