Hacker News new | ask | show | jobs
by oxygen_crisis 702 days ago
$* will break on directory names containing spaces and other bash "word" delimiters, use "$@":

    cd() { builtin cd "$@" && ls; }