No description
Find a file
2023-01-09 09:53:57 -07:00
.dir-locals.el Add dir locals 2018-01-16 11:10:24 -08:00
_awk And rewrite into fragments 2022-08-11 00:11:04 -06:00
_goto And rewrite into fragments 2022-08-11 00:11:04 -06:00
_goto_file Don't hard-code the zsh path 2022-08-17 16:46:24 -06:00
_label And rewrite into fragments 2022-08-11 00:11:04 -06:00
_zsh_goto_sed set -e 2022-11-26 12:08:40 -07:00
goto [NO TESTS] WIP 2023-01-09 09:53:57 -07:00
goto.plugin.zsh Don't hard-code the zsh path 2022-08-17 16:46:24 -06:00
label [NO TESTS] WIP 2023-01-09 09:53:57 -07:00
README.md An overhaul, after all these years. 2022-08-10 23:32:51 -06:00

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