An open API service indexing awesome lists of open source software.

https://github.com/valodim/zsh-_url-httplink

ZSH Completion for http file listings
https://github.com/valodim/zsh-_url-httplink

Last synced: 3 months ago
JSON representation

ZSH Completion for http file listings

Awesome Lists containing this project

README

          

this extends zsh's _urls completion, allowing it to complete urls from html
pages.

the parsing is very simple, taking only href="(XXX)" into account. this
approach is entirely sufficient for simple file listings, but will have
problems with more complex pages.

Screenshot: http://mugenguild.com/~valodim/zsh_httplisting.png

Installation: Just put the _urls file somewhere in your fpath. You may need to
rm ~/.zcompdump and restart your zsh to refresh some completion cache.

TODO:
- handle absolute urls (just ignore?)
- do testing for different scenarios
- do bookmarks and this local server thingie still work?
- fix bugs?