From 571fa0632f2a8fbc637545a4cfbdd2eed76b40a3 Mon Sep 17 00:00:00 2001 From: Veit Heller Date: Mon, 28 Jul 2014 10:13:02 +0200 Subject: [PATCH] Added a few minor things --- ghci | 2 ++ zshrc | 1 + 2 files changed, 3 insertions(+) diff --git a/ghci b/ghci index 7cfefe1..bf7290c 100644 --- a/ghci +++ b/ghci @@ -1,4 +1,6 @@ :set prompt "ghci> " +:set -Wall + let ghciEscapeShellArg arg = "'" ++ concatMap (\c -> if c == '\'' then "'\"'\"'" else [c]) arg ++ "'" :def! h return . (":! hoogle --color --count=20 " ++) . ghciEscapeShellArg diff --git a/zshrc b/zshrc index 1d3b48d..80db027 100644 --- a/zshrc +++ b/zshrc @@ -19,6 +19,7 @@ export PATH=$PATH:/opt/local/bin:/usr/local/lib/io:~/.cabal/bin export MANPATH=$MANPATH:/opt/local/share/man export INFOPATH=$INFOPATH:/opt/local/share/info export PYTHONSTARTUP=~/.pythonrc +export NODE_PATH=/usr/local/lib/node_modules export TERM=rxvt alias gcc="gcc-mp-4.9" alias g++="g++-mp-4.9"