up Search up the directory tree for something, then run a command. Some possibilities: alias sconsup="up.py SConstruct scons" alias makeup="up.py Makefile,makefile,GNUmakefile make" alias commit="up.py .git,.svn vcs commit"