This commit is contained in:
Ämin Baumeler 2025-06-05 23:02:25 +02:00
parent 558f8330ca
commit e5134fd0a0

View File

@ -236,17 +236,21 @@ fi
if [ "${1:-}" = "--day" ]; then if [ "${1:-}" = "--day" ]; then
DISPLAY_DATE="$2" DISPLAY_DATE="$2"
echo "Jumping to day $DISPLAY_DATE!" echo "Jumping to day $DISPLAY_DATE!"
selection=$(__show_day | selection=$(
$FZF \ __show_day |
--reverse \ $FZF \
--ansi \ --reverse \
--no-sort \ --ansi \
--no-input \ --no-sort \
--delimiter='|' \ --no-input \
--with-nth='{2}' \ --delimiter='|' \
--accept-nth='{1}') --with-nth='{2}' \
fpath="$ROOT/$selection" --accept-nth='{1}' \
echo "$fpath" --bind="backspace:first+accept"
)
if [ -n "$selection" ]; then
fpath="$ROOT/$selection"
fi
fi fi
if [ "${1:-}" = "--date" ]; then if [ "${1:-}" = "--date" ]; then