From 04dace945cff118db1541170c18a5b80b89a3b9c Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Sun, 14 Dec 2025 05:14:21 +0100 Subject: [PATCH] fix(bash): return after recursive call when cdl/cdll to home --- .bash_aliases | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bash_aliases b/.bash_aliases index d5e8af4..e684fb4 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -115,6 +115,7 @@ cdl () { # Cdl to home if no args provided if [ $# -eq 0 ]; then cdl $HOME + return fi cd -P -- "$1" && l @@ -124,6 +125,7 @@ cdll () { # Cdll to home if no args provided if [ $# -eq 0 ]; then cdll $HOME + return fi cd -P -- "$1" && ll