From: François Fleuret Date: Sun, 17 Nov 2024 09:17:04 +0000 (+0100) Subject: Fixed an infinite recursion that never happened before (?!) X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=0b90cd612f497a729a6ed0ddf1700f2f4b0de499;p=selector.git Fixed an infinite recursion that never happened before (?!) --- diff --git a/bash-selector.sh b/bash-selector.sh index d338487..63d3081 100755 --- a/bash-selector.sh +++ b/bash-selector.sh @@ -65,9 +65,9 @@ function selector-cd () { umask 077 if [[ -z "$1" ]]; then - cd + \cd else - cd "$@" + \cd "$@" fi if [[ -f "${SELECTOR_CD_HISTORY}" ]]; then