diff options
Diffstat (limited to 'etc/functions')
-rw-r--r-- | etc/functions/progress | 1 | ||||
-rw-r--r-- | etc/functions/put | 4 | ||||
-rw-r--r-- | etc/functions/reload | 3 |
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 |