#autoload if ! [ -d "$RHG" ]; then echo "ERROR: $RHG doesn't exist." >&2 return 1 fi cd ~RHG/"$1"