summaryrefslogtreecommitdiffstats
path: root/zsh/.zprofile
diff options
context:
space:
mode:
authoryushyin <yushyin@saga>2020-12-14 03:12:41 +0100
committeryushyin <yushyin@saga>2020-12-14 03:12:41 +0100
commit79ce028bd7833e42a06455b3ac05a6b85db2cb6d (patch)
treeb314fe4a26f381a988a3246b36a193f9c480085b /zsh/.zprofile
parentfdc82c50f86baff1c1fec2311aec6c81f49b1404 (diff)
downloaddotfiles-igor-79ce028bd7833e42a06455b3ac05a6b85db2cb6d.tar.gz
dotfiles-igor-79ce028bd7833e42a06455b3ac05a6b85db2cb6d.tar.xz
Vim: Add texlab lsp server for LaTeX
Diffstat (limited to 'zsh/.zprofile')
-rw-r--r--zsh/.zprofile2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/.zprofile b/zsh/.zprofile
index 0d2a4e3..b239aed 100644
--- a/zsh/.zprofile
+++ b/zsh/.zprofile
@@ -6,6 +6,6 @@ TEXMFCONFIG=~/.config/texlive
TEXMFVAR=~/.cache/texlive
export EDITOR VIMINIT TASKRC TEXMFHOME TEXMFCONFIG TEXMFVAR
-eval "$(perl -I$HOME/.local/perl5/lib/perl5/ -Mlocal::lib=--deactivate-all,$HOME/.local/perl5)"
+eval "$(api_ver=$(perl -MConfig -e'print $Config{api_version}') && perl -I$HOME/.local/perl5.${api_ver}/lib/perl5/ -Mlocal::lib=--deactivate-all,$HOME/.local/perl5.${api_ver})"
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx