From e6dd6f736bd369eb2afec427383c1d82f7345e20 Mon Sep 17 00:00:00 2001 From: AstringentBeet Date: Fri, 24 Jan 2025 07:57:24 -0600 Subject: [PATCH] typo correction --- scripts/cwd.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/cwd.sh b/scripts/cwd.sh index 4b1a460..ac89c6e 100755 --- a/scripts/cwd.sh +++ b/scripts/cwd.sh @@ -17,13 +17,13 @@ main() { # change '/home/user' to '~' cwd="${path/"$HOME"/'~'}" - + # check if the user wants only the current directory basename_enabled=$(tmux show-option -gqv @dracula-cwd-basename) if ["$basenmae_enabled" == "true" ]; then - #Extract only the last part of path - cwd=$(basename "cwd") + #Extract only the last part of path + cwd=$(basename "$cwd") fi echo "$cwd"