mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
fix(notement): correctly handle files with spaces
This commit is contained in:
@@ -243,7 +243,7 @@ in {
|
||||
note_file=$({
|
||||
echo diary/$(date -I).md
|
||||
echo diary/$(date -I -d yesterday).md
|
||||
find . -type f -printf "%T@ %p\n" | sort --reverse --numeric-sort | cut --delimiter=" " --fields=2
|
||||
find . -type f -printf "%T@ %p\n" | sort --reverse --numeric-sort | cut --delimiter=" " --fields=2-
|
||||
} | rofi -dmenu -i -p 'notes')
|
||||
if test "$note_file"
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user