fix: update bindings to use non-local executable

Signed-off-by: cpendery <cpendery@vt.edu>
This commit is contained in:
cpendery
2023-09-17 03:53:25 -04:00
parent 023c738c0d
commit 4d95c56e09
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -1,6 +1,6 @@
__clac__() {
./clac "$READLINE_LINE"
output=$(./clac -o)
clac "$READLINE_LINE"
output=$(clac -o)
eval "$output"
}
+3 -3
View File
@@ -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
+2 -2
View File
@@ -1,6 +1,6 @@
clac-widget() {
./clac "${(qqq)LBUFFER}"
output=$(./clac -o)
clac "${(qqq)LBUFFER}"
output=$(clac -o)
eval "$output"
}