From 78698c08d600013d239122b66cfab243ea5afcf8 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Mon, 28 Aug 2023 18:05:23 +0200 Subject: [PATCH] Update bin/,ccd --- bin/executable_,ccd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/executable_,ccd b/bin/executable_,ccd index 68e7c2e..1fe0461 100644 --- a/bin/executable_,ccd +++ b/bin/executable_,ccd @@ -7,4 +7,7 @@ if [[ $? -ne 0 ]]; then return $? fi -cd "$(echo "$choice" | tail --lines 1)" +target=$(echo "$choice" | tail --lines 1) +echo "$target" + +cd "$target"