From d6fcab291135c77c832a58b39d0909433af89c05 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 22 Nov 2008 12:22:33 +0100 Subject: Cleaned up / updated file headers --- etc/env | 4 ---- etc/functions/dirinfo | 2 -- etc/functions/extr | 2 +- etc/functions/git-hook | 1 - etc/functions/progress | 1 - etc/functions/put | 1 - etc/functions/rtab | 1 + etc/profile | 1 + etc/rc | 6 ++++-- 9 files changed, 7 insertions(+), 12 deletions(-) (limited to 'etc') diff --git a/etc/env b/etc/env index a781e2a..3d5e567 100644 --- a/etc/env +++ b/etc/env @@ -1,8 +1,4 @@ ## vim:ft=zsh -## zshenv -## Daniel Friesel -## 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 -## 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 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 ## Usage: progress [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 ## supports as many 'failover' hosts as an array can hold ## Usage: put 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 +## 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!" diff --git a/etc/rc b/etc/rc index 70792ea..9265e67 100644 --- a/etc/rc +++ b/etc/rc @@ -1,6 +1,8 @@ ## vim:ft=zsh -## zshrc -## Daniel Friesel +## Written 2008 by Daniel Friesel +## 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/ -- cgit v1.2.3