From f7afe8caaf3901d7804efebddd62f9ad84056c76 Mon Sep 17 00:00:00 2001 From: Ilan Cosman Date: Sun, 31 Oct 2021 11:16:17 -0700 Subject: [PATCH] Appease shellcheck --- .github/workflows/CI.yml | 2 +- .github/workflows/release.yml | 2 +- functions/_tide_item_git.fish | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7265e56..0c7c969 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -22,7 +22,7 @@ jobs: - uses: fish-actions/install-fish@v1 - - run: make test -C $GITHUB_WORKSPACE + - run: make test -C "$GITHUB_WORKSPACE" syntax-check: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e2c52ca..b096102 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: # Output to /tmp/github_release.md - name: Generate release notes run: > - tail --lines=+5 $GITHUB_WORKSPACE/CHANGELOG.md | + tail --lines=+5 "$GITHUB_WORKSPACE/CHANGELOG.md" | sed '/^## /q' | head --lines=-2 | sed -E 's/\[(#[0-9]*)\]\[\]/\1/g' diff --git a/functions/_tide_item_git.fish b/functions/_tide_item_git.fish index 35d338b..c7b2ae3 100644 --- a/functions/_tide_item_git.fish +++ b/functions/_tide_item_git.fish @@ -55,7 +55,7 @@ function _tide_item_git set -g tide_git_bg_color $tide_git_bg_color_unstable end - _tide_print_item git $_tide_location_color $tide_git_icon' ' (set_color white; echo -ns $location + _tide_print_item git $_tide_location_color$tide_git_icon' ' (set_color white; echo -ns $location set_color $tide_git_color_operation; echo -ns ' '$operation ' '$step/$total_steps set_color $tide_git_color_upstream; echo -ns ' ⇣'$behind ' ⇡'$ahead set_color $tide_git_color_stash; echo -ns ' *'$stash