From f23a443f341b2ce30b9a605523634a16316c0e8f Mon Sep 17 00:00:00 2001 From: TheK4n Date: Fri, 24 Sep 2021 21:03:32 +0300 Subject: [PATCH] ref --- .bash_functions | 6 ++++++ 1 file changed, 6 insertions(+) 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 }