function cg set toplev (git rev-parse --show-toplevel) cd $toplev end