Skip to content

Commit

Permalink
add windows volume support
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Jun 20, 2023
1 parent ca850e8 commit a4a350c
Show file tree
Hide file tree
Showing 72 changed files with 72 additions and 102 deletions.
2 changes: 1 addition & 1 deletion cmd/generate/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"strconv"
"strings"

"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/rsteube/carapace/third_party/golang.org/x/sys/execabs"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/cargo_completer/cmd/action/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/tools/cargo"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/rsteube/carapace/pkg/style"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/cargo_completer/cmd/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/cargo_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/actions/tools/git"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/clamdtop_completer/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/net"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/code_completer/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/code_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/actions/os"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/rsteube/carapace/pkg/style"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion completers/deno_completer/cmd/action/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/net"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
)

func ActionHostPort() carapace.Action {
Expand Down
2 changes: 1 addition & 1 deletion completers/docker-compose_completer/cmd/cp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/docker-compose_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/docker_completer/cmd/container_cp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/tools/docker"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/foot_completer/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/os"
"github.com/rsteube/carapace-bin/pkg/util/embed"
"github.com/rsteube/carapace/pkg/style"
"github.com/rsteube/carapace-bin/pkg/util/embed"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/gh_completer/cmd/action/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"

"github.com/rsteube/carapace-bin/completers/gh_completer/cmd/action/run"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/rsteube/carapace/third_party/golang.org/x/sys/execabs"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/gh_completer/cmd/action/repo_override.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/gh_completer/cmd/browse.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/gh_completer/cmd/action"
_git "github.com/rsteube/carapace-bin/completers/gh_completer/cmd/action/git"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/gh_completer/cmd/codespace_cp.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/gh_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/actions/tools/gh"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/git_completer/cmd/blame.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/tools/git"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/git_completer/cmd/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/tools/git"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/git_completer/cmd/difftool.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/tools/git"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/git_completer/cmd/gui_blame.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/tools/git"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/git_completer/cmd/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/time"
"github.com/rsteube/carapace-bin/pkg/actions/tools/git"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/git_completer/cmd/shortlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/time"
"github.com/rsteube/carapace-bin/pkg/actions/tools/git"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/git_completer/cmd/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/tools/git"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/git_completer/cmd/whatchanged.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/tools/git"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/go_completer/cmd/mod_edit.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/tools/golang"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/go_completer/cmd/work_edit.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/tools/golang"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/gradle_completer/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/rsteube/carapace/pkg/cache"
"github.com/rsteube/carapace/pkg/style"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion completers/helm_completer/cmd/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/helm_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/helm_completer/cmd/show_all.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/helm_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/helm_completer/cmd/show_chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/helm_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/helm_completer/cmd/show_readme.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/helm_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/helm_completer/cmd/show_values.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/helm_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/helm_completer/cmd/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/helm_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/hugo_completer/cmd/action/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"path/filepath"

"github.com/pelletier/go-toml"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"gopkg.in/yaml.v3"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/kubectl_completer/cmd/cp.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/tools/kubectl"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/minikube_completer/cmd/image_load.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/tools/docker"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/minikube_completer/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"github.com/rsteube/carapace-bin/completers/minikube_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/actions/os"
"github.com/rsteube/carapace-bin/pkg/actions/tools/docker"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/mount_completer/cmd/action/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package action
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/fs"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
)

func ActionSources() carapace.Action {
Expand Down
2 changes: 1 addition & 1 deletion completers/ng_completer/cmd/action/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
)

type config struct {
Expand Down
2 changes: 1 addition & 1 deletion completers/npm_completer/cmd/action/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
)

func nodeModulesPath(c carapace.Context) (string, error) {
Expand Down
2 changes: 1 addition & 1 deletion completers/npm_completer/cmd/action/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/pkg/actions/tools/npm"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/npm_completer/cmd/cache_add.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/npm_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/npm_completer/cmd/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/npm_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/npm_completer/cmd/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/npm_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/npm_completer/cmd/installTest.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/npm_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/npm_completer/cmd/link.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/npm_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion completers/pamac_completer/cmd/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/pamac_completer/cmd/action"
"github.com/rsteube/carapace-bin/pkg/util"
"github.com/rsteube/carapace/pkg/util"
"github.com/spf13/cobra"
)

Expand Down
Loading

0 comments on commit a4a350c

Please sign in to comment.