summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-09-29 09:46:17 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-09-29 09:46:17 +0200
commitfea6db5c95334a85a7f94d2172240fe3f804f16c (patch)
tree112299423e6596746e76b170d0589bfc94a2b4f5 /etc
parent8f21009ce9f85e189ccbe83298ad67969aa43d72 (diff)
functions: Added some more header comments
Diffstat (limited to 'etc')
-rw-r--r--etc/functions/progress1
-rw-r--r--etc/functions/put4
-rw-r--r--etc/functions/reload3
3 files changed, 8 insertions, 0 deletions
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 <derf@derf.homelinux.org>
+## Usage: progress <current> <max> [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 <derf@derf.homelinux.org>
+## supports as many 'failover' hosts as an array can hold
+## Usage: put <file>
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