Sorin Ionescu
13 years ago
71 changed files with 527 additions and 108 deletions
@ -1,4 +1,10 @@ |
|||||||
# Open the node api for your current version to the optional section. |
# |
||||||
|
# Opens the Node.js online API documentation in the default browser. |
||||||
|
# |
||||||
|
# Authors: |
||||||
|
# Sorin Ionescu <sorin.ionescu@gmail.com> |
||||||
|
# |
||||||
|
|
||||||
# TODO: Make the sections easier to use. |
# TODO: Make the sections easier to use. |
||||||
open "http://nodejs.org/docs/$(node --version | sed 's/-.*//')/api/all.html#${1}" |
open "http://nodejs.org/docs/$(node --version | sed 's/-.*//')/api/all.html#${1}" |
||||||
|
|
||||||
|
@ -1,4 +1,11 @@ |
|||||||
# List explicitly installed packages. |
# |
||||||
|
# Lists explicitly installed pacman packages. |
||||||
|
# |
||||||
|
# Authors: |
||||||
|
# Benjamin Boudreau <dreurmail@gmail.com> |
||||||
|
# Sorin Ionescu <sorin.ionescu@gmail.com> |
||||||
|
# |
||||||
|
|
||||||
sudo pacman -Qei $(pacman -Qu|cut -d" " -f 1) \ |
sudo pacman -Qei $(pacman -Qu|cut -d" " -f 1) \ |
||||||
| awk ' BEGIN {FS=":"}/^Name/{printf("\033[1;36m%s\033[1;37m", $2)}/^Description/{print $2}' |
| awk ' BEGIN {FS=":"}/^Name/{printf("\033[1;36m%s\033[1;37m", $2)}/^Description/{print $2}' |
||||||
|
|
||||||
|
@ -1,5 +1,13 @@ |
|||||||
#compdef wake |
#compdef wake |
||||||
#autoload |
#autoload |
||||||
|
|
||||||
|
# |
||||||
|
# Completes wake. |
||||||
|
# |
||||||
|
# Authors: |
||||||
|
# Paul Gideon Dann <pdgiddie@gmail.com> |
||||||
|
# Sorin Ionescu <sorin.ionescu@gmail.com> |
||||||
|
# |
||||||
|
|
||||||
_arguments "1:device to wake:_files -W '$HOME/.wakeonlan'" && return 0 |
_arguments "1:device to wake:_files -W '$HOME/.wakeonlan'" && return 0 |
||||||
|
|
||||||
|
Loading…
Reference in new issue