From 203ba14e78e21422afd5c7e0bbb95f1edd62edf4 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Fri, 25 Nov 2016 10:26:53 +1100 Subject: [PATCH] XDG-ify ooc's user library directory and handle it a little more cleanly --- config/zsh/login/langs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/zsh/login/langs b/config/zsh/login/langs index d9edecb..1b27097 100644 --- a/config/zsh/login/langs +++ b/config/zsh/login/langs @@ -11,8 +11,9 @@ newbins+=(~/.cabal/bin ~/Library/Haskell/bin) # ooc if whence rock >/dev/null; then - export OOC_LIBS=/usr/local/Cellar/rock/0.9.10:~/.ooc - newbins+=(~/.ooc/sam) + export -UT OOC_LIBS ooc_libs + ooc_libs=(/usr/local/Cellar/rock/*(N) $XDG_DATA_HOME/ooc) + newbins+=($XDG_DATA_HOME/ooc/sam) fi # ruby