From 60e55e3f3b476193e6857b8e553c45718f8f520a Mon Sep 17 00:00:00 2001 From: tomit4 Date: Sun, 28 Sep 2025 19:16:26 -0700 Subject: [PATCH] :pencil2: Fixed typo --- scripts/rdir | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/rdir b/scripts/rdir index 5cea46fa..e3fb8f0b 100755 --- a/scripts/rdir +++ b/scripts/rdir @@ -4,15 +4,15 @@ sdrc="$HOME"/.sdrc # grabs the current $sdir environment variable -if [[ -f "$sdrc" ]] ; then +if [[ -f "$sdrc" ]]; then source "$sdrc" else - prinf "%s\n" "error: no .sdrc file." - prinf "%s\n" "use sdir scriptt in desired directory first." + printf "%s\n" "error: no .sdrc file." + printf "%s\n" "use sdir scriptt in desired directory first." exit 1 fi -if [ -z "$sdoc" ] ; then +if [ -z "$sdoc" ]; then cd "$sdir" && /usr/bin/exa --icons else cd "$sdir" && $EDITOR -c \'a "$sdoc"