Skip to content

Instantly share code, notes, and snippets.

@4ydx
Last active August 29, 2015 14:23
Show Gist options
  • Select an option

  • Save 4ydx/e7fead0ec746c86c428d to your computer and use it in GitHub Desktop.

Select an option

Save 4ydx/e7fead0ec746c86c428d to your computer and use it in GitHub Desktop.
Xterm + XQuartz + Xmonad
.xmodmap (for japanese keyboard)
keycode 101 = backslash bar backslash bar
.Xdefaults:
xterm*Background: black
xterm*Foreground: white
xterm*faceName: Monaco
xterm*faceSize: 9
.bashrc:
export PS1="\u \w> "
cd $HOME
export GOPATH=$HOME/go
export PATH=/usr/local/bin:$PATH:$GOPATH/bin
export CLICOLOR=1
export LSCOLORS=EagxCxdxbxegedabagacad
xset r rate 500 50
xset bell off
# Add GHC 7.10.1 to the PATH, via https://ghcformacosx.github.io/
export GHC_DOT_APP="/Applications/ghc-7.10.1.app"
if [ -d "$GHC_DOT_APP" ]; then
export PATH="${HOME}/.cabal/bin:${GHC_DOT_APP}/Contents/bin:${PATH}"
fi
.xinitrc.d/90-xmonad.sh:
#! /bin/sh
# "chmod +x ~/.xinitrc.d/90-xmonad.sh" to activate
# this assumes you used the Haskell Platform and cabal-install to install xmonad
USERWM=$HOME/Library/Haskell/bin/xmonad
colors:
http://geoff.greer.fm/lscolors/
haskell:
http://ghcformacosx.github.io/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment