From 4d95c56e09b39486bae695987d32a00ef2dab1a1 Mon Sep 17 00:00:00 2001 From: cpendery Date: Sun, 17 Sep 2023 03:53:25 -0400 Subject: [PATCH] fix: update bindings to use non-local executable Signed-off-by: cpendery --- .goreleaser.yaml | 2 +- shell/key-bindings.bash | 4 ++-- shell/key-bindings.ps1 | 6 +++--- shell/key-bindings.zsh | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 6cd5223..1c4c229 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -49,7 +49,7 @@ winget: commit_msg_template: "{{ .PackageIdentifier }}: {{ .Tag }}" path: manifests/g/goreleaser/1.19 homepage: "https://github.com/cpendery/clac" - skip_upload: false + skip_upload: true release_notes: "{{.Changelog}}" tags: - golang diff --git a/shell/key-bindings.bash b/shell/key-bindings.bash index 6a0108a..a4ec0ee 100644 --- a/shell/key-bindings.bash +++ b/shell/key-bindings.bash @@ -1,6 +1,6 @@ __clac__() { - ./clac "$READLINE_LINE" - output=$(./clac -o) + clac "$READLINE_LINE" + output=$(clac -o) eval "$output" } diff --git a/shell/key-bindings.ps1 b/shell/key-bindings.ps1 index ffdd4e9..c00bfad 100644 --- a/shell/key-bindings.ps1 +++ b/shell/key-bindings.ps1 @@ -12,13 +12,13 @@ Set-PSReadLineKeyHandler -Chord 'Ctrl+a' -ScriptBlock { [Microsoft.PowerShell.PSConsoleReadLine]::KillLine() if ($command) { - Start-Process -NoNewWindow -Wait ".\clac" "$command" + Start-Process -NoNewWindow -Wait "clac" "$command" } else { - Start-Process -NoNewWindow -Wait ".\clac" + Start-Process -NoNewWindow -Wait "clac" } $pinfo = New-Object System.Diagnostics.ProcessStartInfo - $pinfo.FileName = ".\clac" + $pinfo.FileName = "clac" $pinfo.RedirectStandardError = $true $pinfo.RedirectStandardOutput = $true $pinfo.UseShellExecute = $false diff --git a/shell/key-bindings.zsh b/shell/key-bindings.zsh index 387fd25..92f7526 100644 --- a/shell/key-bindings.zsh +++ b/shell/key-bindings.zsh @@ -1,6 +1,6 @@ clac-widget() { - ./clac "${(qqq)LBUFFER}" - output=$(./clac -o) + clac "${(qqq)LBUFFER}" + output=$(clac -o) eval "$output" }