3 ms·
borrowed and my fingers thank you!
by mythrwy 9y ago
borrowed and my fingers thank you!
- mort96 9y agoYou might also be interested in this function from my zshrc: https://github.com/mortie/nixConf/blob/f078de8890461d247af459cc966a15449c9515e7/.shrc#L40 https://github.com/mortie/nixConf/blob/f078de8890461d247af45... Basically, if you're in the directory `~/something/src/projectname/foo/com/something/bar/baz`, and want to get back up to say `~/something/src/projectname/foo`, `to foo` will do that. (Or `to oo` or `to o`; it matches the end of the name, and goes to the first match; `to ing` would go to `~/something/src/projectname/foo/com/something`).