mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2026-01-11 21:36:00 +01:00
fix(bash): return after recursive call when cdl/cdll to home (#77)
Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/77
This commit is contained in:
parent
b25d305ca2
commit
29b13a52f2
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue