mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-11-02 21:22:51 +00:00
docs(setup): persist the TinyTeX PATH in the shell profile on macOS (#609)
The TinyTeX snippet exports PATH for the current session only. A new terminal window then fails with 'command not found: lualatex' although the install worked. Add the persisted form and a one-line check.
This commit is contained in:
1 parent
a203bdd08f
commit
36771d03a8
1 file changed
+10
@@ -64,6 +64,16 @@ sh /tmp/tinytex-install-bin-unix.sh /tmp --no-path
|
||||
export PATH="$HOME/Library/TinyTeX/bin/universal-darwin:$PATH"
|
||||
```
|
||||
|
||||
The `export` above only lasts for the current terminal window. Persist it, or every new window reports `zsh: command not found: lualatex` (or `xelatex`) even though TinyTeX installed fine:
|
||||
|
||||
```bash
|
||||
echo 'export PATH="$HOME/Library/TinyTeX/bin/universal-darwin:$PATH"' >> ~/.zshrc
|
||||
source ~/.zshrc
|
||||
lualatex --version # should print a version, not "command not found"
|
||||
```
|
||||
|
||||
(Bash users: append to `~/.bash_profile` instead.)
|
||||
|
||||
Then install the template dependencies:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in new issue
Block a user