29 lines
1.5 KiB
Bash
29 lines
1.5 KiB
Bash
export NOBEEP="YES" # Stop that infernal beeping
|
|
export CLICOLOR="YES" # Show colors
|
|
export LSCOLORS="ExGxFxdxCxDxDxhbadExEx" # Look like bash
|
|
bindkey '\e[1~' beginning-of-line # Home key
|
|
bindkey '\e[4~' end-of-line # End key
|
|
bindkey '\e[H' beginning-of-line # Home key (alternate)
|
|
bindkey '\e[F' end-of-line # End key (alternate)
|
|
bindkey '\e[3~' forward-delete-char # Delete key
|
|
bindkey '\e[6~' end-of-history # Page down key
|
|
bindkey '\e[2~' redisplay # Insert key
|
|
bindkey '\e[5~' insert-last-word # Page up key
|
|
|
|
export GOPATH="$HOME/.go/"
|
|
|
|
# remove /usr/games and /usr/X11R6/bin if you want
|
|
PATH=$HOME/bin:/bin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/usr/games:/usr/X11R6/bin:/$HOME/.gem/ruby/1.9.1/bin:$HOME/.cabal/bin:$HOME/.go/bin:/usr/lib/go/bin:$PATH; export PATH
|
|
#PATH=$HOME/bin:/bin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/usr/games:/usr/X11R6/bin:/$HOME/.gem/ruby/1.9/bin; export PATH
|
|
case `uname` in
|
|
SunOS)
|
|
UCB_PATH=/usr/sww/lang/acl:/usr/sww/lang/jdk-1.5.0/bin:/usr/openwin/bin:/usr/dt/bin:/usr/sww/opt/java/bin:/usr/sww/bin:/share/b/grading/bin:/share/b/grading/sbin:/share/b/runas/sun4u:/share/b/bin:/home/aa/projects/scheme/bin:/usr/ucb:/usr/ccs/bin:/usr/sfw/bin; export UCB_PATH
|
|
PATH=$PATH:$UCB_PATH; export PATH
|
|
;;
|
|
Darwin)
|
|
MACPORTS_PATH=/opt/local/bin:/opt/local/sbin:/opt/local/usr/bin:/opt/local/usr/local/bin; export MACPORTS_PATH
|
|
PATH=$HOME/bin:$MACPORTS_PATH:$PATH; export PATH
|
|
export DISPLAY=:0.0
|
|
#set completion-ignore-case on
|
|
;;
|
|
esac
|