diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2022-09-03 15:19:38 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2022-09-03 15:19:38 +0200 |
commit | 5a9f05d33bbf77f6c8dd9e1af72469030ed3a60b (patch) | |
tree | a86a7dd13e8bdaeaae722ef020dc3b884f95355b /bash | |
parent | a1a8bd2e5c9acec868a3714bee02f5c15882627b (diff) | |
download | dotfiles-5a9f05d33bbf77f6c8dd9e1af72469030ed3a60b.tar.gz |
bashboard fix
Diffstat (limited to 'bash')
-rw-r--r-- | bash/board.bash | 2 |
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")" |