diff --git a/.travis.yml b/.travis.yml index fc8fa5e..6ab91f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ script: - yes | dot --https # - curl -sfLo ~/.vim/autoload/plug.vim --create-dirs 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' - ls -la ~/.vim/* - - tmux new-session -n test "vim +PlugInstall +qall; exit" + - tmux new-session -n test "vim -E -s -u $HOME/.vim/vimrc +PlugInstall +qall; exit" - test -d $HOME/.tmux/plugins/tpm - ls -la $HOME/.vim diff --git a/commands/dot.go b/commands/dot.go index e27ee49..17b67d9 100644 --- a/commands/dot.go +++ b/commands/dot.go @@ -19,11 +19,11 @@ var ( ) var ( - Dot *role.Meta - Config *conf.Conf - ConfigName = ".dotrc" + Dot *role.Meta + Config *conf.Conf + ConfigName = ".dotrc" debug, https, verbose bool - defaultDotDir = ".dot" + defaultDotDir = ".dot" ) var DotCmd = &cobra.Command{ diff --git a/git/repository.go b/git/repository.go index 78e0610..4de29f1 100644 --- a/git/repository.go +++ b/git/repository.go @@ -10,10 +10,10 @@ import ( ) var ( - DefaultBranch = "master" - DefaultRemote = "origin" - DefaultPath string - PathSep = string(os.PathSeparator) + DefaultBranch = "master" + DefaultRemote = "origin" + DefaultPath string + PathSep = string(os.PathSeparator) ) type Repository struct { @@ -24,7 +24,7 @@ type Repository struct { gitdir string } -func NewRepository(spec string/*, clonePath string, remotes ...*Remote*/) (*Repository, error) { +func NewRepository(spec string /*, clonePath string, remotes ...*Remote*/) (*Repository, error) { name, dir, url, err := ParseSpec(spec) if err != nil { return nil, err