Skip to content

Commit

Permalink
v2 major release version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-pmillz committed Dec 22, 2022
1 parent bd40c5e commit e0f34f8
Show file tree
Hide file tree
Showing 21 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ Table of Contents
If you have a version of golang >= 16.X you can install with

```shell
go install github.com/mr-pmillz/pimp-my-shell@latest
go install github.com/mr-pmillz/pimp-my-shell/v2@latest
```

If using an older version of golang

```shell
go get github.com/mr-pmillz/pimp-my-shell@latest
go get github.com/mr-pmillz/pimp-my-shell/v2@latest
```

### Manual installation
Expand Down
2 changes: 1 addition & 1 deletion cheat/cheat.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os"
"text/template"

"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
)

type cheatConfigOptions struct {
Expand Down
2 changes: 1 addition & 1 deletion cheat/cheat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"testing"

"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
)

func TestInstallCheat(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions extra/extra.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"
"os"

"github.com/mr-pmillz/pimp-my-shell/githubapi"
"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/githubapi"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
"gopkg.in/ini.v1"
)

Expand Down
2 changes: 1 addition & 1 deletion extra/extra_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
)

func TestInstallExtraPackages(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion githubapi/githubapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"path"
"strings"

"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"

"github.com/google/go-github/v39/github"
"golang.org/x/oauth2"
Expand Down
2 changes: 1 addition & 1 deletion githubapi/githubapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"reflect"
"testing"

"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/mr-pmillz/pimp-my-shell
module github.com/mr-pmillz/pimp-my-shell/v2

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion linux/linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"os"

"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
)

//go:embed templates/*
Expand Down
2 changes: 1 addition & 1 deletion macosx/macosx.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package macosx
import (
"fmt"

"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
)

// InstallHomebrew if Not already installed
Expand Down
2 changes: 1 addition & 1 deletion macosx/macosx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package macosx
import (
"testing"

"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
)

func TestInstallHomebrew(t *testing.T) {
Expand Down
18 changes: 9 additions & 9 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import (
"log"
"runtime"

"github.com/mr-pmillz/pimp-my-shell/cheat"
"github.com/mr-pmillz/pimp-my-shell/extra"
"github.com/mr-pmillz/pimp-my-shell/linux"
"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/macosx"
"github.com/mr-pmillz/pimp-my-shell/nerdfonts"
"github.com/mr-pmillz/pimp-my-shell/tmux"
"github.com/mr-pmillz/pimp-my-shell/vim"
"github.com/mr-pmillz/pimp-my-shell/zsh"
"github.com/mr-pmillz/pimp-my-shell/v2/cheat"
"github.com/mr-pmillz/pimp-my-shell/v2/extra"
"github.com/mr-pmillz/pimp-my-shell/v2/linux"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/macosx"
"github.com/mr-pmillz/pimp-my-shell/v2/nerdfonts"
"github.com/mr-pmillz/pimp-my-shell/v2/tmux"
"github.com/mr-pmillz/pimp-my-shell/v2/vim"
"github.com/mr-pmillz/pimp-my-shell/v2/zsh"
)

// pimpMyShell runs all the installation setup tasks
Expand Down
2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
)

func Test_pimpMyShell(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion nerdfonts/nerdfonts.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
)

// InstallNerdFontsLSD ...
Expand Down
2 changes: 1 addition & 1 deletion nerdfonts/nerfonts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package nerdfonts
import (
"testing"

"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
)

func TestInstallNerdFontsLSD(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tmux/tmux.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"

gotmux "github.com/jubnzv/go-tmux"
"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
)

//go:embed templates/*
Expand Down
2 changes: 1 addition & 1 deletion tmux/tmux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
)

func TestInstallOhMyTmux(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion vim/vim.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"runtime"

"github.com/google/periph/host/distro"
"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
)

//go:embed templates/*
Expand Down
2 changes: 1 addition & 1 deletion vim/vim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
)

func TestInstallVimPlugins(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions zsh/zsh.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strings"

"github.com/Masterminds/semver"
"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/osrelease"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/osrelease"
)

//go:embed templates/*
Expand Down
2 changes: 1 addition & 1 deletion zsh/zsh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"runtime"
"testing"

"github.com/mr-pmillz/pimp-my-shell/localio"
"github.com/mr-pmillz/pimp-my-shell/v2/localio"
)

// Test_updateZSHPlugins is a basic test checking for errors, it doesn't validate the correct plugins
Expand Down

0 comments on commit e0f34f8

Please sign in to comment.