diff options
author | yushyin <yushyin@saga> | 2020-12-14 03:12:44 +0100 |
---|---|---|
committer | yushyin <yushyin@saga> | 2020-12-14 03:12:44 +0100 |
commit | 977df7eead79411180f01d9ef4474f835baf706e (patch) | |
tree | 40617266f02ce9314fd43765b1a4d8b590bac7a4 | |
parent | 3ad56bc3eb53c77e6eb4df3f88865c7cdb570d88 (diff) | |
download | dotfiles-igor-977df7eead79411180f01d9ef4474f835baf706e.tar.gz dotfiles-igor-977df7eead79411180f01d9ef4474f835baf706e.tar.xz |
Zsh: let ghcup use XDG dirs
-rw-r--r-- | zsh/.zprofile | 4 | ||||
-rw-r--r-- | zsh/.zshrc | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/zsh/.zprofile b/zsh/.zprofile index b239aed..75bd2cb 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -1,10 +1,12 @@ # exports EDITOR=vim +TERMINAL=termite VIMINIT='let $MYVIMRC="~/.config/vim/vimrc" | source $MYVIMRC' TEXMFHOME=~/.local/share/texlive TEXMFCONFIG=~/.config/texlive TEXMFVAR=~/.cache/texlive -export EDITOR VIMINIT TASKRC TEXMFHOME TEXMFCONFIG TEXMFVAR +GHCUP_USE_XDG_DIRS=1 +export EDITOR TERMINAL VIMINIT TASKRC TEXMFHOME TEXMFCONFIG TEXMFVAR GHCUP_USE_XDG_DIRS 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})" @@ -41,7 +41,6 @@ compinit -d $HOME/.cache/zsh/zcompdump # Misc typeset -U path path+=(~/.local/bin) -path+=(~/.ghcup/bin, ~/.cabal/bin) REPORTTIME=2 PROMPT=": " |