diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/env | 4 | ||||
-rw-r--r-- | etc/functions/dirinfo | 2 | ||||
-rw-r--r-- | etc/functions/extr | 2 | ||||
-rw-r--r-- | etc/functions/git-hook | 1 | ||||
-rw-r--r-- | etc/functions/progress | 1 | ||||
-rw-r--r-- | etc/functions/put | 1 | ||||
-rw-r--r-- | etc/functions/rtab | 1 | ||||
-rw-r--r-- | etc/profile | 1 | ||||
-rw-r--r-- | etc/rc | 6 |
9 files changed, 7 insertions, 12 deletions
@@ -1,8 +1,4 @@ ## vim:ft=zsh -## zshenv -## Daniel Friesel <derf@derf.homelinux.org> -## https://derf.homelinux.org/~derf/dotfiles/zsh/env -## see also: https://derf.homelinux.org/~derf/dotfiles/zsh/ ZDIR=$HOME/packages/zsh/etc (( ${unicode-1} )) && diff --git a/etc/functions/dirinfo b/etc/functions/dirinfo index 62c249c..5781580 100644 --- a/etc/functions/dirinfo +++ b/etc/functions/dirinfo @@ -1,7 +1,5 @@ ## vim:ft=zsh ## Collect some directory information for the prompt -## Written 2008 by Daniel Friesel <derf@derf.homelinux.org> -## typeset string diff --git a/etc/functions/extr b/etc/functions/extr index b3d5f33..444b237 100644 --- a/etc/functions/extr +++ b/etc/functions/extr @@ -2,7 +2,7 @@ ## vim:ft=zsh function confirm_shar { - echo -ne "${warn}shar archives are shell scripts and can easily contain malicious code.${reset} Proceed/ [y/N] " + echo -ne "${warn}shar archives are shell scripts and can easily contain malicious code.${reset} Proceed? [y/N] " read -q } diff --git a/etc/functions/git-hook b/etc/functions/git-hook index 5243ee1..3d0c705 100644 --- a/etc/functions/git-hook +++ b/etc/functions/git-hook @@ -1,6 +1,5 @@ ## vim:ft=zsh ## Small function to help with git hooks -## Written 2008 by Daniel Friesel <derf@derf.homelinux.org> autoload fdie typeset hook_dir action=${1=list} hook=$2 diff --git a/etc/functions/progress b/etc/functions/progress index f3e439d..d23caea 100644 --- a/etc/functions/progress +++ b/etc/functions/progress @@ -1,6 +1,5 @@ ## 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 diff --git a/etc/functions/put b/etc/functions/put index 6626618..93ecec0 100644 --- a/etc/functions/put +++ b/etc/functions/put @@ -1,6 +1,5 @@ ## 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> diff --git a/etc/functions/rtab b/etc/functions/rtab index ff4245e..d794c4a 100644 --- a/etc/functions/rtab +++ b/etc/functions/rtab @@ -1,6 +1,7 @@ ## vim:ft=zsh ## reverse tabbing ## written 2008 by Daniel Friesel <derf@derf.homelinux.org> +## Licence: You just DO WHAT THE FUCK YOU WANT TO. ## https://derf.homelinux.org/~derf/dotfiles/zsh/functions/rtab ## CAVEAT: directory-names containing two or more consecutive spaces diff --git a/etc/profile b/etc/profile index 0a547d5..3273b3e 100644 --- a/etc/profile +++ b/etc/profile @@ -1,3 +1,4 @@ +## vim:ft=zsh source $HOME/packages/zsh/etc/colors print -P "${info}>>${reset} this is ${info}`uname -srm`${reset} on ${info}%y${reset}" [[ -n $(echo Maildir/new/*(N)) ]] && echo "${info}>>${reset} You have mail!" @@ -1,6 +1,8 @@ ## vim:ft=zsh -## zshrc -## Daniel Friesel <derf@derf.homelinux.org> +## Written 2008 by Daniel Friesel <derf@derf.homelinux.org> +## Unless otherwise noted, this Licence applies to all files sourced here: +## 0. You just DO WHAT THE FUCK YOU WANT TO. +## ## https://derf.homelinux.org/~derf/dotfiles/zsh/rc ## see also: https://derf.homelinux.org/~derf/dotfiles/zsh/ |