Skip to content
Browse files

Add helper for Haskell's cabal

  • Loading branch information...
1 parent ecb468e commit afcf374c57c1e543c1a419c3f5ac9d59402c8b44 @caio committed Apr 20, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 source/haskell.sh
View
8 source/haskell.sh
@@ -0,0 +1,8 @@
+__load_cabal() {
+ local cabal_dir="${HOME}/.cabal"
+ test ! -d ${cabal_dir} && return 0
+ pathprepend ${cabal_dir}/bin/
+ export MANPATH=${cabal_dir}/share/man/:$(manpath -g)
+}
+
+__load_cabal

0 comments on commit afcf374

Please sign in to comment.
Something went wrong with that request. Please try again.