szorfein / dots

Use chezmoi to install my dotfiles easily on Gentoo, Arch, Void and Debian.
MIT License
103 stars 12 forks source link

chezmoi apply error #3

Closed imskr closed 4 years ago

imskr commented 4 years ago

Its demanding github username and pass while running chezmoi apply

imskr commented 4 years ago

I just changed the config themes=lines

Authentication failed for 'https://github.com/szorfein/lines.vim/'

szorfein commented 4 years ago

hmm, you don't need to fill data.theme, this variable is no more used,

EDIT: The value for github are used in: (chezmoi cd && find . -type f | xargs grep .github.name)

./.chezmoiignore:{{- if ne .github.name "szorfein" }}
./dot_gitconfig.tmpl:  name = {{ .github.name }}
./dot_gitconfig.tmpl:{{- if eq .github.name "szorfein" }}
./private_dot_gnupg/sshcontrol.tmpl:{{- if eq .github.name "szorfein" }}
./dot_weechat/private_irc.conf.tmpl:{{- if eq .github.name "szorfein" }}
./dot_weechat/private_irc.conf.tmpl:{{- if eq .github.name "szorfein" }}
./dot_weechat/private_irc.conf.tmpl:{{- if eq .github.name "szorfein" }}

It should not ask for passwork, maybe it related to your ~/.gitconfig. Try to modify data.github.name and data.github.email for see and make redo a chezmoi apply

chezmoi only ask for a mail address the first time.
Else can you post the content of your chezmoi edit-config ? (without the value of your gpg key if any)

imskr commented 4 years ago

I was also trying another way given in wiki of dotfiles but stow lines -t ~ don't work throws some error

szorfein commented 4 years ago

I've correct the wiki for the manual install.