use textmate as default editor, set IDEA_JDK

This commit is contained in:
Robin Wenglewski 2011-09-29 17:03:01 +02:00
commit 2aab2de99a
2 changed files with 9 additions and 6 deletions

View file

@ -4,10 +4,10 @@
# export PS1='%3~$(git_info_for_prompt)%# '
# fi
if (( ${+commands[mvim]} ));then
export EDITOR='mvim'
elif (( ${+commands[mate]} ));then
export EDITOR="mate"
if (( ${+commands[mate]} ));then
export EDITOR='mate'
elif (( ${+commands[mvim]} ));then
export EDITOR="mvim"
else
export EDITOR='vim'
fi
@ -26,6 +26,7 @@ if [[ -e /usr/libexec/java_home ]]; then
export JAVA_HOME="`/usr/libexec/java_home`"
fi
export IDEA_JDK="$JAVA_HOME"
fpath=(~/.zsh/functions $fpath)
autoload -U ~/.zsh/functions/*(:t)