script import os, sys # So that ~/utils.py takes precedence. script sys.path[:0] = [os.path.expanduser('~')] script import utils command alias pwd script print os.getcwd() command script add -f utils.chdir cd command script add -f utils.system system