From fea6db5c95334a85a7f94d2172240fe3f804f16c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 29 Sep 2008 09:46:17 +0200 Subject: functions: Added some more header comments --- etc/functions/progress | 1 + etc/functions/put | 4 ++++ etc/functions/reload | 3 +++ 3 files changed, 8 insertions(+) (limited to 'etc/functions') diff --git a/etc/functions/progress b/etc/functions/progress index 0d0292d..ae3e5ce 100644 --- a/etc/functions/progress +++ b/etc/functions/progress @@ -1,6 +1,7 @@ ## vim:ft=zsh ## progress - draw a simple progress bar ## Written 2008 by Daniel Friesel +## Usage: progress [left description] [right discription] typeset -i current=$1 typeset -i max=$2 diff --git a/etc/functions/put b/etc/functions/put index 89d0bd3..2773416 100644 --- a/etc/functions/put +++ b/etc/functions/put @@ -1,4 +1,8 @@ ## vim:ft=zsh +## put - make a file available via HTTP +## Written 2008 by Daniel Friesel +## supports as many 'failover' hosts as an array can hold +## Usage: put autoload fdie typeset hostname diff --git a/etc/functions/reload b/etc/functions/reload index f4fc399..a97cb70 100644 --- a/etc/functions/reload +++ b/etc/functions/reload @@ -1,4 +1,7 @@ ## vim:ft=zsh +## reload the zshrc / some functions +## Usage: reload [function names] + if [[ ${#*} == 0 ]] { autoload xsource xsource ~/.zshrc -- cgit v1.2.3