-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
75 lines (60 loc) · 2.3 KB
/
zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# some stuff copied from mako's zshrc file, v0.12
# next lets set some enviromental/shell pref stuff up
# setopt NOHUP
#setopt NOTIFY
#setopt NO_FLOW_CONTROL
setopt APPEND_HISTORY
# setopt AUTO_LIST # these two should be turned off
# setopt AUTO_REMOVE_SLASH
# setopt AUTO_RESUME # tries to resume command of same name
unsetopt BG_NICE # do NOT nice bg commands
setopt CORRECT # command CORRECTION
# setopt EXTENDED_HISTORY # puts timestamps in the history
# setopt HASH_CMDS # turns on hashing
#
setopt ALL_EXPORT
HISTFILE=$HOME/.history
HISTSIZE=1000
SAVEHIST=1000
setopt INC_APPEND_HISTORY
HOSTNAME="`hostname -s`"
PAGER=less
export LESS='isr'
EDITOR=vim
export JAVA_HOME=`/usr/libexec/java_home -v '1.7*'`
# export JAVA_HOME=`/usr/libexec/java_home -v '1.6*'`
autoload -U colors && colors
PROMPT="%{$fg[green]%}%n@$HOST:%1~%%%{$reset_color%} "
export PATH=/usr/local/bin:$PATH:/usr/local/sbin
# TeX
export PATH=$PATH:/usr/local/texlive/2011/bin/x86_64-darwin/
export PATH=$PATH:/Users/jens/Work/Workspaces/Diverses/gradle-1.12/bin
export PATH=$PATH:/usr/local/share/npm/bin
export PATH=$PATH:$HOME/bin
FRICKE_PATH=/Users/jens/Work/Workspaces/FrickeProjects/scripts
export PATH=$PATH:$FRICKE_PATH:$FRICKE_PATH/locals
COFFEE_HOME=$HOME/Work/Workspaces/FrickeProjects/nodeshared/node_modules/coffee-script
export PATH=$COFFEE_HOME/bin:$PATH
# PS1='\[\e[0;32m\]\u@\h\[\e[m\]:\[\e[0;34m\]\W\[\e[m\]\$ '
# PS1='\h:\W \$ '
# PS1='[\u@\h \W]\$ '
unsetopt ALL_EXPORT
. /Users/jens/.alias
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' list-prompt '%SAt %p: Hit TAB for more, or the character to insert%s'
zstyle ':completion:*' menu select=5
zstyle ':completion:*' select-prompt '%SScrolling active: current selection at %p%s'
zstyle ':completion:*' special-dirs true
# zstyle :compinstall filename '/home/makolee/.zshrc'
autoload -U compinit && compinit
# no completion for git
compdef -d git
# This loads RVM into a shell session
# [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
# PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
source /Users/jens/.rvm/scripts/rvm
export FRICKEDIR=/Users/jens/Work/Workspaces/FrickeProjects
# Ant fuer Hybris
export ANT_OPTS=-Xmx200m
export ANT_HOME=$FRICKEDIR/hybris/bin/platform/apache-ant-1.8.2
export PATH=$PATH:$ANT_HOME/bin