Re:Show HN: Teleport: Simple command line app tutorial writt...
by iamdave on Thursday December 22, 2016 @05:28PM
(#13240960)
Naming directories seems like an odd choice. Sounds like aliases?
I definitely use aliases for multiple frequently accessed directories.
`kdev` takes me to my work dev folder, `wpdev` takes me to my wordpress folder, etc.
But I definitely see the points parent comment to yours made.
Re:Show HN: Teleport: Simple command line app tutorial writt...
by taeric on Friday December 23, 2016 @10:31AM
(#13245159)
Yeah, I was not intending my post as a counter. Just more discussion.
Re:Show HN: Teleport: Simple command line app tutorial writt...
by bollu on Friday December 23, 2016 @12:40AM
(#13243097)
what advantage does `eshell` have?
And yes, the primary goal of writing this was to have a small CLI app in Haskell, but I've found that I use teleport a decent amount now to quickly zip between common folders
Re:Show HN: Teleport: Simple command line app tutorial writt...
by taeric on Friday December 23, 2016 @09:01AM
(#13244717)
Main eshell advantage is tramp integration. I can "cd /computer:" to change my directory to remote machine. From there, I can open a file as though it were local. Grep opens results in a buffer that acts as an index to the results. And my magit shortcut acts correctly.
Meant to clarify, I was not defending pushd/popd. It is a tough experience. Not a tough experience to beat. And pedagogical is a perfectly fine motivation.
Regardless, pushd/popd/dirs is a tough experience. Seems capable of a lot, but I only use it for bouncing between two directories, typically.
The tool I like, but can't remember the name of is basically 'cd ${PWD:src/tst}'. Only, a little more terse.
Haven't used it in a while either, since I've primarily switched to eshell.