Skip to content

Commit

Permalink
Merge pull request #1002 from rsteube/shlex-package
Browse files Browse the repository at this point in the history
updated shlex package path
  • Loading branch information
rsteube committed Mar 11, 2024
2 parents 84fbbc3 + 4e6c097 commit a5adf91
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion action.go
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"time"

shlex "github.com/rsteube/carapace-shlex"
shlex "github.com/carapace-sh/carapace-shlex"
"github.com/rsteube/carapace/internal/cache"
"github.com/rsteube/carapace/internal/common"
"github.com/rsteube/carapace/pkg/cache/key"
Expand Down
2 changes: 1 addition & 1 deletion docs/src/carapace/action/split.md
Expand Up @@ -24,5 +24,5 @@ carapace.ActionCallback(func(c carapace.Context) carapace.Action {

![](./split.cast)

[lexicographically]:https://github.com/rsteube/carapace-shlex
[lexicographically]:https://github.com/carapace-sh/carapace-shlex
[`Split`]: https://pkg.go.dev/github.com/rsteube/carapace#Action.Split
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -3,7 +3,7 @@ module github.com/rsteube/carapace
go 1.15

require (
github.com/rsteube/carapace-shlex v0.1.2
github.com/carapace-sh/carapace-shlex v0.2.0
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
gopkg.in/yaml.v3 v3.0.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
@@ -1,8 +1,8 @@
github.com/carapace-sh/carapace-shlex v0.2.0 h1:rh2wprc8Cszf4MZV+99t9vH6wblz7zlN/3C/v7Xl0Ck=
github.com/carapace-sh/carapace-shlex v0.2.0/go.mod h1:lJ4ZsdxytE0wHJ8Ta9S7Qq0XpjgjU0mdfCqiI2FHx7M=
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/rsteube/carapace-shlex v0.1.2 h1:ZKjhIfXoCkEnzensMglTaLbkNOaLkmM8SCRshpJKx6s=
github.com/rsteube/carapace-shlex v0.1.2/go.mod h1:zPw1dOFwvLPKStUy9g2BYKanI6bsQMATzDMYQQybo3o=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0=
github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho=
Expand Down
2 changes: 1 addition & 1 deletion internal/shell/bash/patch.go
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"strconv"

shlex "github.com/rsteube/carapace-shlex"
shlex "github.com/carapace-sh/carapace-shlex"
)

// RedirectError current position is a redirect like `echo test >[TAB]`.
Expand Down
2 changes: 1 addition & 1 deletion internal/shell/nushell/patch.go
Expand Up @@ -3,7 +3,7 @@ package nushell
import (
"strings"

shlex "github.com/rsteube/carapace-shlex"
shlex "github.com/carapace-sh/carapace-shlex"
)

// Patch uses the lexer to parse and patch given arguments which
Expand Down
2 changes: 1 addition & 1 deletion pkg/execlog/execlog.go
@@ -1,7 +1,7 @@
package execlog

import (
shlex "github.com/rsteube/carapace-shlex"
shlex "github.com/carapace-sh/carapace-shlex"
"github.com/rsteube/carapace/internal/log"
"github.com/rsteube/carapace/third_party/golang.org/x/sys/execabs"
)
Expand Down

0 comments on commit a5adf91

Please sign in to comment.