Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add helper for Haskell's cabal

  • Loading branch information...
commit afcf374c57c1e543c1a419c3f5ac9d59402c8b44 1 parent ecb468e
@caio authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.