summaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authoryushyin <yushyin@saga>2020-12-14 03:12:44 +0100
committeryushyin <yushyin@saga>2020-12-14 03:12:44 +0100
commit977df7eead79411180f01d9ef4474f835baf706e (patch)
tree40617266f02ce9314fd43765b1a4d8b590bac7a4 /zsh
parent3ad56bc3eb53c77e6eb4df3f88865c7cdb570d88 (diff)
downloaddotfiles-igor-977df7eead79411180f01d9ef4474f835baf706e.tar.gz
dotfiles-igor-977df7eead79411180f01d9ef4474f835baf706e.tar.xz
Zsh: let ghcup use XDG dirs
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zprofile4
-rw-r--r--zsh/.zshrc1
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})"
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=": "