Skip to content

Commit

Permalink
fix(tasks): use § as column separator, to parse with fzf
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoliwa committed May 4, 2024
1 parent 4f9b6b5 commit ccd12e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
poetry 1.7.1
pre-commit 3.6.0
pre-commit 3.7.0
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ print-config: # Print the configuration used by maturin
.PHONY: print-config

install: # Create the virtualenv and setup the local development environment
-rm .python-version
@echo $$(basename $$(pwd))
-pyenv virtualenv $$(basename $$(pwd))
pyenv local $$(basename $$(pwd))
Expand Down
4 changes: 2 additions & 2 deletions python/logseq_doctor/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ def tasks(

blocks_sorted_by_date = Block.sort_by_date(logseq.query(query))
for block in blocks_sorted_by_date:
typer.secho(f"{block.page_title}: ", fg=typer.colors.GREEN, nl=False)
typer.secho(f"{block.page_title}§", fg=typer.colors.GREEN, nl=False)
typer.secho(block.url(logseq.graph_name), fg=typer.colors.BLUE, bold=True, nl=False)
typer.echo(f" {block.raw_content}")
typer.echo(f"§{block.raw_content}")


@app.command()
Expand Down

0 comments on commit ccd12e7

Please sign in to comment.