aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-09-03 15:19:38 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-09-03 15:19:38 +0200
commit5a9f05d33bbf77f6c8dd9e1af72469030ed3a60b (patch)
treea86a7dd13e8bdaeaae722ef020dc3b884f95355b
parenta1a8bd2e5c9acec868a3714bee02f5c15882627b (diff)
downloaddotfiles-5a9f05d33bbf77f6c8dd9e1af72469030ed3a60b.tar.gz
bashboard fix
-rw-r--r--bash/board.bash2
1 files changed, 1 insertions, 1 deletions
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")"