3 ms·
Naming directories seems like an odd choice. Sounds like aliases? Regardless, pushd/popd/dirs is a tough experience. Seems capable of a lot, but I only use i
by taeric 10y ago
Naming directories seems like an odd choice. Sounds like aliases?
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.
- iamdave 10y agoNaming 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.
- taeric 10y agoYeah, I was not intending my post as a counter. Just more discussion.
- bollu 10y agowhat 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
- taeric 10y agoMain 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.