From f94e26b88d78845ece390a9f458410e470f30cbe Mon Sep 17 00:00:00 2001 From: Leonardo Berbert Date: Thu, 9 Apr 2026 22:37:18 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20cd=20n=C3=A3o=20retorna?= =?UTF-8?q?=20ao=20$HOME.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sloth-bash | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sloth-bash b/sloth-bash index 88b6f94..cd573b5 100644 --- a/sloth-bash +++ b/sloth-bash @@ -3,6 +3,11 @@ # bash file manager shopt -s autocd function cd { + if [[ $# -eq 0 ]]; then + builtin cd && ls -F + return $? + fi + local arg="$1" case "$arg" in ...) arg="../..";;