diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-06-23 11:08:19 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-06-23 11:08:19 +0200 |
| commit | 5a0555bc9d7f52d240d7ab82c77b516245119bc0 (patch) | |
| tree | f4d569cb211ec8fdf1fbec3cf4fd2971cfc91fea /zsh | |
| parent | fa4c1b824baa744562679f25715e7027c7704ab8 (diff) | |
| download | dotfiles-5a0555bc9d7f52d240d7ab82c77b516245119bc0.tar.gz dotfiles-5a0555bc9d7f52d240d7ab82c77b516245119bc0.tar.bz2 dotfiles-5a0555bc9d7f52d240d7ab82c77b516245119bc0.zip | |
zsh: Verbessere die Zuweisungen an MANPATH/INFOPATH unter FreeBSD
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/zprofile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/zsh/zprofile b/zsh/zprofile index 266e105..6fca54f 100644 --- a/zsh/zprofile +++ b/zsh/zprofile | |||
| @@ -15,13 +15,17 @@ case "$OSTYPE" in | |||
| 15 | add_path "$HOME/.local/venv/nvim" | 15 | add_path "$HOME/.local/venv/nvim" |
| 16 | ;; | 16 | ;; |
| 17 | freebsd*) | 17 | freebsd*) |
| 18 | add_path "$HOME/.local/texlive/bin/amd64-freebsd" | 18 | texlive_prefix="$HOME/.local/texlive" |
| 19 | |||
| 20 | if [[ -d "$texlive_prefix/bin/amd64-freebsd" ]]; then | ||
| 21 | add_path "$texlive_prefix/bin/amd64-freebsd" | ||
| 22 | |||
| 23 | export MANPATH="${MANPATH:-$(manpath)}:$texlive_prefix/texmf-dist/man" | ||
| 24 | export INFOPATH="${INFOPATH:+$INFOPATH:}$texlive_prefix/texmf-dist/info" | ||
| 25 | fi | ||
| 19 | ;; | 26 | ;; |
| 20 | esac | 27 | esac |
| 21 | 28 | ||
| 22 | export MANPATH="${MANPATH:-$(manpath)}:$NPM_PACKAGES/share/man:$HOME/.local/texlive/texmf-dist/man" | ||
| 23 | export INFOPATH="$INFOPATH:$HOME/.local/texlive/texmf-dist/info" | ||
| 24 | |||
| 25 | # Fix für include/lib Verzeichnisse | 29 | # Fix für include/lib Verzeichnisse |
| 26 | # Details: https://gcc.gnu.org/onlinedocs/cpp/Environment-Variables.html | 30 | # Details: https://gcc.gnu.org/onlinedocs/cpp/Environment-Variables.html |
| 27 | export C_INCLUDE_PATH="/usr/local/include:$C_INCLUDE_PATH" | 31 | export C_INCLUDE_PATH="/usr/local/include:$C_INCLUDE_PATH" |
