You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Reid 'arrdem' McKenzie 6411c2ed12
[NO TESTS] WIP
4 weeks ago
.dir-locals.el Add dir locals 5 years ago
README.md An overhaul, after all these years. 6 months ago
_awk And rewrite into fragments 6 months ago
_goto And rewrite into fragments 6 months ago
_goto_file Don't hard-code the zsh path 6 months ago
_label And rewrite into fragments 6 months ago
_zsh_goto_sed set -e 2 months ago
goto [NO TESTS] WIP 4 weeks ago
goto.plugin.zsh Don't hard-code the zsh path 6 months ago
label [NO TESTS] WIP 4 weeks ago

README.md

goto.zsh

If you're like me and you maintain a hierarchical filesystem, it can be a real pain to get where you want to go. I know they're considered harmful, but why not try a goto?

$ cd ~/doc/programming/web/arrdem.com
$ echo $PWD
/home/reid/doc/programming/web/arrdem.com
# that's long as hell... let's fix that
$ label add arrdem.com
$ cd
$ echo $PWD
/home/reid
$ goto arrdem.com
$ echo $PWD
/home/reid/doc/programming/web/arrdem.com

This is a alpha script and could use some serious attention.

  • the labels file (~/.labels.tsv) must be tab separated