~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
emacs: Make sure Git is first in the list of VC backends.
[profile]
/
bash_profile
diff --git
a/bash_profile
b/bash_profile
index
8b236ee
..
db97ecd
100644
(file)
--- a/
bash_profile
+++ b/
bash_profile
@@
-29,9
+29,9
@@
__mdw_addto () {
[ -d $i ] || continue
case "X$val" in
X)
[ -d $i ] || continue
case "X$val" in
X)
-
val=$i
-
continue
-
;;
+ val=$i
+ continue
+ ;;
X$i)
continue
;;
X$i)
continue
;;
@@
-59,7
+59,7
@@
__mdw_addto () {
__mdw_conf () {
local var=$1
val=`sed -n "
__mdw_conf () {
local var=$1
val=`sed -n "
- /^[ ]*$var[ ]*=[ ]*\(\|.*[^ ]\)[ ]*$/ {
+ /^[
]*$var[ ]*=[ ]*\(\|.*[^ ]\)[ ]*$/ {
s//\1/; p; q
}
" ${MDWCONF-$HOME/.mdw.conf}`
s//\1/; p; q
}
" ${MDWCONF-$HOME/.mdw.conf}`
@@
-98,13
+98,6
@@
export NAME="Mark Wooding"
export EMAIL=`__mdw_conf email`
export QMAILINJECT=c
export EMAIL=`__mdw_conf email`
export QMAILINJECT=c
-# --- GIT environment things ---
-
-export GIT_AUTHOR_NAME=$NAME
-export GIT_AUTHOR_EMAIL=$EMAIL
-export GIT_COMMITTER_NAME=$NAME
-export GIT_COMMITTER_EMAIL=$EMAIL
-
# --- Various options for programs ---
umask 002
# --- Various options for programs ---
umask 002
@@
-142,7
+135,7
@@
export SVNROOT=`__mdw_conf svn-root`
export BECOME="--preserve-environment"
export PAGER=`type -p less` METAMAIL_PAGER=`type -p less`
export BECOME="--preserve-environment"
export PAGER=`type -p less` METAMAIL_PAGER=`type -p less`
-export LESS="-iqgRh1"
+export LESS="-iqgRh1
FX
"
export LESSOPEN="|lesspipe.sh %s"
export LESSCHARSET=latin1
# export MAKEFLAGS="-j4"
export LESSOPEN="|lesspipe.sh %s"
export LESSCHARSET=latin1
# export MAKEFLAGS="-j4"
@@
-171,7
+164,7
@@
eval `start-ssh-agent -b`
if [ -z "$__mdw_bashrc" ] && [ "$__mdw_force_secure_session" = "yes" ] ||
( tty="`tty`" devtty="(/dev/)?${tty#/dev/}"
{ { { [ -e /etc/securetty ] && sectty=/etc/securetty; } ||
if [ -z "$__mdw_bashrc" ] && [ "$__mdw_force_secure_session" = "yes" ] ||
( tty="`tty`" devtty="(/dev/)?${tty#/dev/}"
{ { { [ -e /etc/securetty ] && sectty=/etc/securetty; } ||
-
{ [ -e /etc/securettys ] && sectty=/etc/securettys; }; } &&
+ { [ -e /etc/securettys ] && sectty=/etc/securettys; }; } &&
egrep "$devtty" $sectty >/dev/null; } ||
{ [ -e /etc/default/login ] &&
egrep "^CONSOLE=$devtty" /etc/default/login >/dev/null; } ||
egrep "$devtty" $sectty >/dev/null; } ||
{ [ -e /etc/default/login ] &&
egrep "^CONSOLE=$devtty" /etc/default/login >/dev/null; } ||