After calling the tldr-update-docs in any way, I get stuck in downloading sources over and over again. Excerpt from messages:
This is the first time you have run TLDR. Please wait while the latest TLDR docs are downloaded... Contacting host: github.com:443 Wrote c:/Users/redacted/Local/Temp/tldr-source.zip The TLDR docs are up to date! This is the first time you have run TLDR. Please wait while the latest TLDR docs are downloaded... Contacting host: github.com:443 Wrote c:/Users/redacted/Local/Temp/tldr-source.zip The TLDR docs are up to date! This is the first time you have run TLDR. Please wait while the latest TLDR docs are downloaded... Contacting host: github.com:443 Wrote c:/Users/redacted/AppData/Local/Temp/tldr-source.zip The TLDR docs are up to date!
Some poking around leads me to believe that the issue is caused by this line:
(shell-command-to-string (format "mv '%s' '%s'" (concat (file-truename user-emacs-directory) "tldr-main") tldr-directory-path)
On windows by default there is no mv command - there's move instead. Probably the easiest solution is to check system-type and use appropriate move command.
If you guys don't have time I can try and PR this sometime next week (doesn't sound too difficult since you guys already check that, but that'd be my first time writing some actual elisp so watch out : ^))
Quite similar to #27.
After calling the
tldr-update-docs
in any way, I get stuck in downloading sources over and over again. Excerpt from messages:This is the first time you have run TLDR. Please wait while the latest TLDR docs are downloaded... Contacting host: github.com:443 Wrote c:/Users/redacted/Local/Temp/tldr-source.zip The TLDR docs are up to date! This is the first time you have run TLDR. Please wait while the latest TLDR docs are downloaded... Contacting host: github.com:443 Wrote c:/Users/redacted/Local/Temp/tldr-source.zip The TLDR docs are up to date! This is the first time you have run TLDR. Please wait while the latest TLDR docs are downloaded... Contacting host: github.com:443 Wrote c:/Users/redacted/AppData/Local/Temp/tldr-source.zip The TLDR docs are up to date!
Some poking around leads me to believe that the issue is caused by this line:
(shell-command-to-string (format "mv '%s' '%s'" (concat (file-truename user-emacs-directory) "tldr-main") tldr-directory-path)
On windows by default there is no
mv
command - there'smove
instead. Probably the easiest solution is to checksystem-type
and use appropriate move command.If you guys don't have time I can try and PR this sometime next week (doesn't sound too difficult since you guys already check that, but that'd be my first time writing some actual elisp so watch out : ^))