pi-ghostty-lazygit
Open lazygit in a new Ghostty window from inside Pi
Package details
Install pi-ghostty-lazygit from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-ghostty-lazygit- Package
pi-ghostty-lazygit- Version
0.2.0- Published
- Jun 2, 2026
- Downloads
- not available
- Author
- ferologics
- License
- MIT
- Types
- extension
- Size
- 8.2 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-ghostty-lazygit
Open lazygit in a new Ghostty window from inside Pi.
Command
/lg→ openlazygitat the current repo root in a new Ghostty window
Behavior
- Uses Ghostty's AppleScript API on macOS
- Opens a new Ghostty window
- Starts at the git repo root for the current Pi cwd
- Launches
lazygit
Requirements
- macOS
- Ghostty 1.3.1+ with AppleScript support working
lazygitinPATH- Run the command from inside a git repo
Install
From npm (standalone package):
pi install npm:pi-ghostty-lazygit
From git:
pi install git:github.com/ferologics/pi-ghostty-lazygit
Or use the bundled package:
pi install npm:@ferologics/pi-extensions
# or
pi install npm:pi-shit
After updating your package, reload Pi:
/reload