Someone
public text v1 · immutablefunction cd {
builtin cd $1
if [ -e .svn ]
then
DIFFS=`svn status| egrep "^M"`
if [ -z "$DIFFS" ]
then
exit
else
echo "This directory contains uncommited changes."
fi
fi
} function cd {
builtin cd $1
if [ -e .svn ]
then
DIFFS=`svn status| egrep "^M"`
if [ -z "$DIFFS" ]
then
exit
else
echo "This directory contains uncommited changes."
fi
fi
}