mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
Removed custom plugin in prep for pull request
This commit is contained in:
parent
965fefd85e
commit
bbe6b961cd
1 changed files with 0 additions and 23 deletions
|
|
@ -1,23 +0,0 @@
|
|||
# CanIUse.com Command Line Search Utility
|
||||
# Michael Wales, http://github.com/walesmd
|
||||
#
|
||||
# A very basic bash function that quickly searches http://caniuse.com/
|
||||
#
|
||||
# Examples:
|
||||
# caniuse
|
||||
# caniuse border-radius
|
||||
# caniuse "alpha transparency" counters "canvas drawings" html svg
|
||||
|
||||
caniuse() {
|
||||
local domain="http://caniuse.com/"
|
||||
local query
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
open ${domain}
|
||||
else
|
||||
for term in "$@"; do
|
||||
query=$(python -c "import sys, urllib as ul; print ul.quote('${term}');")
|
||||
open "${domain}#search=${query}"
|
||||
done
|
||||
fi
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue