From 977df7eead79411180f01d9ef4474f835baf706e Mon Sep 17 00:00:00 2001 From: yushyin Date: Mon, 14 Dec 2020 03:12:44 +0100 Subject: Zsh: let ghcup use XDG dirs --- zsh/.zprofile | 4 +++- zsh/.zshrc | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'zsh') 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})" diff --git a/zsh/.zshrc b/zsh/.zshrc index f74810d..be1bfb0 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -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=": " -- cgit v1.2.3-24-g4f1b