No description
Find a file
2018-01-16 11:22:29 -08:00
.dir-locals.el Add dir locals 2018-01-16 11:10:24 -08:00
goto.plugin.zsh Add compdef header 2018-01-16 11:22:29 -08:00
README.md Fresh initial state 2016-09-30 10:19:41 -07: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 arrdem.com
$ cd
$ echo $PWD
/home/reid
$ goto arrdem.com
$ echo $PWD
/home/reid/doc/programming/web/arrdem.com

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

  • no way to delete labels once you set them besides editing the labels file
  • the labels file (~/.labels.tsv) must be tab seperated
  • the error messages on a missing label are useless