← Catalog

@deathbeam/pi-hashline

Hashline read/edit/grep tool overrides for Pi

Extension

Install

Install with PiG

pig install npm:@deathbeam/pi-hashline

Install with Pi

pi install npm:@deathbeam/pi-hashline
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.0.18 (README.md). PiG does not review it.

@deathbeam/pi-hashline

Replace pi's read, edit, and grep tools with hash-anchored versions that address lines as LINE#HASH. grep needs rg in PATH; without it, the built-in grep stays.

Fork of pi-hashline-edit with bug fixes and native tool output. See the blog post for why it exists.

Installation

# Choose one:
pi install npm:@deathbeam/pi-hashline            # this package
pi install git:github.com/deathbeam/pi-packages  # all my packages

Development

From the repo root:

npm install
npm test -- packages/pi-hashline
pi install ./packages/pi-hashline