From 3625317a2dd9d115652cf20ada49bd49baeda3af Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 7 Sep 2022 09:16:25 -0500 Subject: [PATCH] linting --- bin/gradient | 14 +++++++------- lib/conda.zsh | 16 ++++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/bin/gradient b/bin/gradient index 36c1a2a..3eb73a2 100755 --- a/bin/gradient +++ b/bin/gradient @@ -3,16 +3,16 @@ sleep 0.2 # let wezterm catch up COLUMNS=$(tput cols) line() { - i=1 - while [[ $i -le $COLUMNS ]]; do - echo -en "\U1FB$((RANDOM % 3))$((RANDOM % 8+1))" - i=$((i + 1)) - done + i=1 + while [[ $i -le $COLUMNS ]]; do + echo -en "\U1FB$((RANDOM % 3))$((RANDOM % 8 + 1))" + i=$((i + 1)) + done } print-line() { - awk -v columns="$COLUMNS" -v s="$(line)" \ - 'BEGIN{ + awk -v columns="$COLUMNS" -v s="$(line)" \ + 'BEGIN{ for (colnum = 0; colnum>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! -__conda_setup="$('$HOME/mambaforge/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" +__conda_setup="$('$HOME/mambaforge/bin/conda' 'shell.zsh' 'hook' 2>/dev/null)" if [ $? -eq 0 ]; then - eval "$__conda_setup" + eval "$__conda_setup" else - if [ -f "$HOME/mambaforge/etc/profile.d/conda.sh" ]; then - . "$HOME/mambaforge/etc/profile.d/conda.sh" - else - export PATH="$HOME/mambaforge/bin:$PATH" - fi + if [ -f "$HOME/mambaforge/etc/profile.d/conda.sh" ]; then + . "$HOME/mambaforge/etc/profile.d/conda.sh" + else + export PATH="$HOME/mambaforge/bin:$PATH" + fi fi unset __conda_setup if [ -f "$HOME/mambaforge/etc/profile.d/mamba.sh" ]; then - . "$HOME/mambaforge/etc/profile.d/mamba.sh" + . "$HOME/mambaforge/etc/profile.d/mamba.sh" fi # <<< conda initialize <<<