Initial commit
This commit is contained in:
commit
662fe0334c
37 changed files with 1614 additions and 0 deletions
12
zsh/func/wiki
Normal file
12
zsh/func/wiki
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/zsh
|
||||
# vim:ft=zsh
|
||||
|
||||
wiki ()
|
||||
{
|
||||
if [[ $1 == "" ]]; then
|
||||
echo "Usage: wiki [term]"
|
||||
else
|
||||
dig +short txt $1.wp.dg.cx
|
||||
fi
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue