Make sure textmate is the git editor and don't add the -m switch to git commit alias

pull/2/head
Bodaniel Jeanes 2008-08-15 10:54:14 +10:00
parent ce4bca4d2a
commit 1996198dce
2 changed files with 7 additions and 3 deletions

View File

@ -23,6 +23,8 @@ export TERM=xterm-color
export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32' export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32'
export CLICOLOR=1 export CLICOLOR=1
export EDITOR='mate -w' export EDITOR='mate -w'
export GIT_EDITOR='mate -w'
export VISUAL='mate -w'
# sets title of window to be user@host # sets title of window to be user@host
export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*} ${PWD}"; echo -ne "\007"' export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*} ${PWD}"; echo -ne "\007"'
@ -45,8 +47,8 @@ alias sc='ruby ./script/console'
# git stuff # git stuff
alias gi='git init' alias gi='git init'
alias ga='git add .' alias ga='git add .'
alias gc='git commit -m' alias gc='git commit'
alias gac='git commit -a -m' alias gac='git commit -a'
alias gps='git push origin master' alias gps='git push origin master'
alias gpl='git pull origin master' alias gpl='git pull origin master'

View File

@ -23,3 +23,5 @@
untracked = cyan untracked = cyan
[github] [github]
user = bjeanes user = bjeanes
[core]
editor = mate -w