aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-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")"