From 5a9f05d33bbf77f6c8dd9e1af72469030ed3a60b Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sat, 3 Sep 2022 15:19:38 +0200 Subject: bashboard fix --- bash/board.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash') diff --git a/bash/board.bash b/bash/board.bash index 5c5ac32..67c7da7 100644 --- a/bash/board.bash +++ b/bash/board.bash @@ -52,8 +52,8 @@ function bashboard { local DIR BNAME DNAME read -r BB_NUM BB_DATE BB_DIR <<< "$line" - # Trailing / in $HOME DIR="${BB_DIR##"$HOME"}" + DIR="${DIR##"/"}" BNAME="$(basename "$DIR")" DNAME="$(dirname "$DIR")" -- cgit v1.2.3