set max length to key
This commit is contained in:
@@ -84,6 +84,7 @@ function cd_history () {
|
|||||||
fi
|
fi
|
||||||
\cd "$1"
|
\cd "$1"
|
||||||
b=$( basename "$PWD" )
|
b=$( basename "$PWD" )
|
||||||
|
b=${b:0:42}
|
||||||
if [[ -n "$_QCD_DB" ]]; then
|
if [[ -n "$_QCD_DB" ]]; then
|
||||||
local cd_time
|
local cd_time
|
||||||
printf -v cd_time "%(%s)T000" -1
|
printf -v cd_time "%(%s)T000" -1
|
||||||
|
|||||||
Reference in New Issue
Block a user