Fix linting
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
da557f29f5
commit
25b6da67b6
1 changed files with 3 additions and 3 deletions
|
@ -42,9 +42,9 @@ zstyle ':completion:*' rehash true
|
|||
# Use colors from xresources for linux console
|
||||
if [ "$TERM" = "linux" ]; then
|
||||
_SEDCMD='s/.*\*color\([0-9]\{1,\}\).*#\([0-9a-fA-F]\{6\}\).*/\1 \2/p'
|
||||
for i in $(sed -n "$_SEDCMD" "${XDG_CONFIG_HOME}/X11/xresources" | awk '$1 < 16 {printf "\\e]P%X%s", $1, $2}'); do
|
||||
echo -en "$i"
|
||||
done
|
||||
while IFS= read -r line; do
|
||||
echo -en "${line}"
|
||||
done < <(sed -n "${_SEDCMD}" "${XDG_CONFIG_HOME}/X11/xresources" | awk '$1 < 16 {printf "\\e]P%X%s", $1, $2}')
|
||||
clear
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue