From 569ee34f672dd7c2185d6394fedaf830b484e56f Mon Sep 17 00:00:00 2001 From: q Date: Mon, 14 Oct 2024 12:03:54 +0300 Subject: [PATCH] set max length to key --- q-tools-functions | 1 + 1 file changed, 1 insertion(+) diff --git a/q-tools-functions b/q-tools-functions index 3f431b5..00f92d0 100644 --- a/q-tools-functions +++ b/q-tools-functions @@ -84,6 +84,7 @@ function cd_history () { fi \cd "$1" b=$( basename "$PWD" ) + b=${b:0:42} if [[ -n "$_QCD_DB" ]]; then local cd_time printf -v cd_time "%(%s)T000" -1