Fixed an infinite recursion that never happened before (?!) master
authorFrançois Fleuret <francois@fleuret.org>
Sun, 17 Nov 2024 09:17:04 +0000 (10:17 +0100)
committerFrançois Fleuret <francois@fleuret.org>
Sun, 17 Nov 2024 09:17:04 +0000 (10:17 +0100)
bash-selector.sh

index d338487..63d3081 100755 (executable)
@@ -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