From 0b90cd612f497a729a6ed0ddf1700f2f4b0de499 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Sun, 17 Nov 2024 10:17:04 +0100 Subject: [PATCH] Fixed an infinite recursion that never happened before (?!) --- bash-selector.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5