mirror of
https://github.com/wavetermdev/inshellisense.git
synced 2026-08-05 13:43:30 -07:00
fix: update bindings to use non-local executable
Signed-off-by: cpendery <cpendery@vt.edu>
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
__clac__() {
|
||||
./clac "$READLINE_LINE"
|
||||
output=$(./clac -o)
|
||||
clac "$READLINE_LINE"
|
||||
output=$(clac -o)
|
||||
eval "$output"
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
clac-widget() {
|
||||
./clac "${(qqq)LBUFFER}"
|
||||
output=$(./clac -o)
|
||||
clac "${(qqq)LBUFFER}"
|
||||
output=$(clac -o)
|
||||
eval "$output"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user