Fixed minor spacing bug for not found notes.
This commit is contained in:
@@ -155,7 +155,7 @@ display_note() {
|
|||||||
mapfile -t notes < <(find "$xdgPath/notestorm/notes" -type f -iname '*.md')
|
mapfile -t notes < <(find "$xdgPath/notestorm/notes" -type f -iname '*.md')
|
||||||
if [[ $1 -ge "${#notes[@]}" ]]; then
|
if [[ $1 -ge "${#notes[@]}" ]]; then
|
||||||
gettext "The requested note could not be found. Try using -l to get a list."
|
gettext "The requested note could not be found. Try using -l to get a list."
|
||||||
echo "($1)"
|
echo " ($1)"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
cat "${notes[1]}"
|
cat "${notes[1]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user