Skip to content

Instantly share code, notes, and snippets.

@brianyang
Created November 27, 2025 15:46
Show Gist options
  • Select an option

  • Save brianyang/0d5e7a618368ae404ebb9a2126d0fe75 to your computer and use it in GitHub Desktop.

Select an option

Save brianyang/0d5e7a618368ae404ebb9a2126d0fe75 to your computer and use it in GitHub Desktop.
lsf() { pattern=${1:-INNGEST}; ls -1 ${pattern}*.md 2>/dev/null | xargs -I {} echo "file://$(pwd)/{}" || echo "No files found matching pattern: ${pattern}*"; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment