diff --git a/README.md b/README.md index a6159c5..f74e2a2 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/cheat/cheat.go b/cheat/cheat.go index 05afa46..b854736 100644 --- a/cheat/cheat.go +++ b/cheat/cheat.go @@ -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 { diff --git a/cheat/cheat_test.go b/cheat/cheat_test.go index 8808c70..455bfc6 100644 --- a/cheat/cheat_test.go +++ b/cheat/cheat_test.go @@ -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) { diff --git a/extra/extra.go b/extra/extra.go index 8168ff3..3ef738f 100644 --- a/extra/extra.go +++ b/extra/extra.go @@ -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" ) diff --git a/extra/extra_test.go b/extra/extra_test.go index 0637221..7fa5d5b 100644 --- a/extra/extra_test.go +++ b/extra/extra_test.go @@ -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) { diff --git a/githubapi/githubapi.go b/githubapi/githubapi.go index 75be531..2f99586 100644 --- a/githubapi/githubapi.go +++ b/githubapi/githubapi.go @@ -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" diff --git a/githubapi/githubapi_test.go b/githubapi/githubapi_test.go index 3c2b240..c366236 100644 --- a/githubapi/githubapi_test.go +++ b/githubapi/githubapi_test.go @@ -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" ) diff --git a/go.mod b/go.mod index 8e8c0f7..95ae315 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/mr-pmillz/pimp-my-shell +module github.com/mr-pmillz/pimp-my-shell/v2 go 1.19 diff --git a/linux/linux.go b/linux/linux.go index ba2d367..d2cab36 100644 --- a/linux/linux.go +++ b/linux/linux.go @@ -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/* diff --git a/macosx/macosx.go b/macosx/macosx.go index 1992b5b..fc458e3 100644 --- a/macosx/macosx.go +++ b/macosx/macosx.go @@ -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 diff --git a/macosx/macosx_test.go b/macosx/macosx_test.go index fc3204d..ddd66c4 100644 --- a/macosx/macosx_test.go +++ b/macosx/macosx_test.go @@ -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) { diff --git a/main.go b/main.go index d293747..1244bcd 100644 --- a/main.go +++ b/main.go @@ -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 diff --git a/main_test.go b/main_test.go index 13c1eb5..8ec0dbd 100644 --- a/main_test.go +++ b/main_test.go @@ -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) { diff --git a/nerdfonts/nerdfonts.go b/nerdfonts/nerdfonts.go index ff3e1e6..7caf9f3 100644 --- a/nerdfonts/nerdfonts.go +++ b/nerdfonts/nerdfonts.go @@ -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 ... diff --git a/nerdfonts/nerfonts_test.go b/nerdfonts/nerfonts_test.go index 8ab10a3..c67b4bc 100644 --- a/nerdfonts/nerfonts_test.go +++ b/nerdfonts/nerfonts_test.go @@ -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) { diff --git a/tmux/tmux.go b/tmux/tmux.go index cd6d3d8..6af0ec5 100644 --- a/tmux/tmux.go +++ b/tmux/tmux.go @@ -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/* diff --git a/tmux/tmux_test.go b/tmux/tmux_test.go index 75013e1..2578c13 100644 --- a/tmux/tmux_test.go +++ b/tmux/tmux_test.go @@ -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) { diff --git a/vim/vim.go b/vim/vim.go index 0ef3be3..580d904 100644 --- a/vim/vim.go +++ b/vim/vim.go @@ -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/* diff --git a/vim/vim_test.go b/vim/vim_test.go index 1a4c7f0..fcf11af 100644 --- a/vim/vim_test.go +++ b/vim/vim_test.go @@ -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) { diff --git a/zsh/zsh.go b/zsh/zsh.go index 5645679..64b01c7 100644 --- a/zsh/zsh.go +++ b/zsh/zsh.go @@ -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/* diff --git a/zsh/zsh_test.go b/zsh/zsh_test.go index 2078de1..1178694 100644 --- a/zsh/zsh_test.go +++ b/zsh/zsh_test.go @@ -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