XDG-ify ooc's user library directory and handle it a little more cleanly
This commit is contained in:
parent
25f73ced74
commit
203ba14e78
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue