From 29b13a52f2d877645b7a4be4ab4305a8a3e5ed88 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Sun, 14 Dec 2025 05:16:14 +0100 Subject: [PATCH] fix(bash): return after recursive call when `cdl`/`cdll` to home (#77) Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/77 --- .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