feat(cable): add pj channel for project directory finding#902
feat(cable): add pj channel for project directory finding#902josephschmitt wants to merge 2 commits into
Conversation
ac079a3 to
b44c820
Compare
|
I wanted to use the native |
Turns out the docs were just outdated. However it also turns out that the replace syntax can't read the |
|
Cool! A better solution in my opinion might be to make |
@alexpasmantier so it does by default, the What I was struggling to get working (which you can see via some of the issues I opened) is to get At first I tried using plain So what I ended up with instead was to have I’m open to suggestions, I really would much rather do it how you said. But displaying tilde for the home directory instead of the full path is such a nicer UX and cleans up the list so much that this felt worth it |
|
@alexpasmantier Lmk if you have any other feedback or concerns, happy to address |
|
Sorry for the delay, would you mind adding a small screenshot of the channel for the documentation? 😊 |
717b552 to
d802a21
Compare
|
@alexpasmantier I have a couple of screenshots in the PR. Should they go somewhere in the code itself? Is there an assets folder? Or maybe a command I can run to generate the docs for this? happy to add! |
Add a new cable channel for `pj`, a fast project directory finder. Includes source commands, preview with `ls`, and actions for expanding paths, opening in $EDITOR, connecting to tmux sessions, opening new tmux tabs, and clearing the pj cache.
The pj projects includes Windows builds which should work natively in PowerShell too. The Windows version replaces the tmux commands with wt commands
532ddc6 to
7f99e1b
Compare
📺 PR Description
Adds a new cable channel for

pj, a fast project directory finder that searches your filesystem for project directories.Works with monorepos by deeply looking for nested projects, too:

--no-nestedls$EDITOR, connect to tmux session, open new tmux tab, clear cacheTwo of the actions require
tmuxto work. Given they’re optional and not the primary (nor even secondary) actions, I figured it was ok to not listtmuxas a requirement. Let me know if you disagree.Checklist