0

I'm missing a path for Tex Live to put my .bib file into. That's why I'm trying to create some folders via terminal. I found the commands here(page 4). Weirdly I get an error, I have no clue what zsh is telling me here. I'm a scripting noob, pls excuse my ignorance. But from what I can tell this should be a basic command, shouldn't it?

@A1418_m2017_5004345941 / %mkdir -p $(kpsewhich
--var-value=TEXMFHOME)/{doc,generic,scripts,source} && \ mkdir -p $(kpsewhich --var-value=TEXMFHOME)/bibtex/{bib,bst} && \ mkdir -p $(kpsewhich
--var-value=TEXMFHOME)/fonts/{afm,map,misc,pk,source,tfm,type1} && \ mkdir -p $(kpsewhich
--var-value=TEXMFHOME)/tex/{context,generic,latex,plain,xelatex,xetex} && \ mkdir -p $(kpsewhich
--var-value=TEXMFHOME)/tex/latex/biblatex/{bbx,cbx}

zsh: command not found:  mkdir @A1418_m2017_5004345941 / %
chepner
  • 497,756
  • 71
  • 530
  • 681
hal3m
  • 1
  • 1
  • 1
    You appear to have copied this without pasting it correctly. All those backslashes are probably supposed to be line-continuation characters, but without the newlines they are meant to escape, they are just escaping the following space, which is then treated as part of the following word. You are trying to run the command `\ mkdir` (with a leading space), not `mkdir`. – chepner Oct 22 '21 at 19:35
  • (I edited the question to use a code block rather than a quote block, but may not have preserved the actual formatting of your original code.) – chepner Oct 22 '21 at 19:37
  • oh my. solved. thanks – hal3m Oct 22 '21 at 20:31

0 Answers0