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
- Host: GitHub
- URL: https://github.com/valodim/zsh-_url-httplink
- Owner: Valodim
- Created: 2011-05-24T19:40:17.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2013-03-04T08:41:25.000Z (over 13 years ago)
- Last Synced: 2025-03-06T13:48:12.257Z (over 1 year ago)
- Homepage:
- Size: 102 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
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?