diff --git a/.bash_functions b/.bash_functions index e8d391c..2d16418 100644 --- a/.bash_functions +++ b/.bash_functions @@ -42,6 +42,12 @@ workon() { cl() { + local DIR DIR="$*" + + if [ $# -lt 1 ]; then + DIR=$HOME + fi + cd "${DIR}" && ls -F --color=auto }