Add to your .bashrc to use:
.bashrc
shell function to { if [[ -z "$1" ]]; then to-dir list else cd $(to-dir get $1) pwd ls fi }