stash
stash copied to clipboard
Support for symlinks
A years-old push request, #233 (“ln for linking and diff for diffing, ls shows sym links in yellow”), seems to have gotten stalled.
For me, a very common usage nuisance has been this: to find the directory something else from another source lives in, I often have to drop the script:
import pathlib
print(pathlib.Path.cwd())
into the directory somehow (like via Files) and get Pythonista to run it, then copy the output pathname, and then use that clipboard entry. That’s not terrible once, but then if I need to do it again later, I have to do the exercise again.
It would be great if I could just run
$ ln -s /private/var/mobile/Library/… ~/someDir
$ cd ~/someDir
and then I’d always have quick access to that unwieldy directory name. As is, I can’t even create a ~/iCloud
shortcut to get to my Pythonista iCloud files easily.
Is my newbie-ness with Pythonista showing here, and there’s a better way? If not, I’d really love to see the symlink feature added. (If it’s a matter of time to implement, and that old pull request can be cargo-culted, I’d be happy to try, though I don’t have any Xcode experience to draw on.)
A years-old push request, #233 (“ln for linking and diff for diffing, ls shows sym links in yellow”), seems to have gotten stalled.
Oops... I'll merge it in a few minutes.
It has been 11 days, so wondering when the merge will take place.
merge it in a few minutes
The modifications to ls
conflicts, though.
EDIT: So, can this be closed now?
It has been 11 days, so wondering when the merge will take place.
https://github.com/ywangd/stash/commit/077a9f026e128390988001c1a149d06fe2f64fc0 was pushed to master
12 days ago, but it seems like github did not close the associated PR automatically since I didn't use github for the merge (due to merge conflicts).