Google Search
Monday, August 13, 2007
 

Mac OS X 10.4 Shell Configuration


I have been using an Apple iMac (Core 2 duo) since last October, and
I remember spending alot of time configuring the various shell
settings. The following is a summary of my current configuration:


[~/.vimrc]

sy on
set ruler
set expandtab
set tabstop=2
set directory=$HOME/.vim
set bdir=$HOME/.vim
set backup


[~/.bash_profile]

export EDITOR='vim'
export CLICOLOR='TRUE'
export CVSROOT='/usr/local/cvsrep'

export PATH="${PATH}:/sw/bin:."

alias ll='ls -lh'
alias la='ls -lhA'

# The following two lines bind the up and down arrow keys to auto-complete the
# current command by searching the bash history. This is the default
# behaviour of the tcsh shell.

bind '"\M-[A":history-search-backward'
bind '"\M-[B":history-search-forward'


[~/.xinitrc]

#!/bin/sh
# This nearly empty configuration file prevents the xterm application from launching
# when X windows starts up.

exec quartz-wm

Labels: , , , ,

Archives

08/01/2007 - 09/01/2007  09/01/2007 - 10/01/2007  10/01/2007 - 11/01/2007  

This page is powered by Blogger. Isn't yours?

Copyright © 2007, Adam Fourney