From 75c0f5cde8994b3bc3b277263311d8ac553435c9 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Thu, 13 Dec 2007 22:20:58 +0000 Subject: 24242: unify top lines as #!/bin/zsh (followed by options). --- ChangeLog | 5 +++++ Functions/Calendar/calendar_add | 2 +- Functions/Example/cat | 2 +- Functions/Example/zless | 2 +- Functions/Misc/checkmail | 2 +- Functions/Misc/run-help | 2 +- Functions/Misc/zcalc | 2 +- Functions/Misc/zkbd | 2 +- 8 files changed, 12 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4c0d1d6af..1e3a0b3eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2007-12-13 Clint Adams + * 24242: Functions/Calendar/calendar_add, Functions/Example/cat, + Functions/Example/zless, Functions/Misc/checkmail, + Functions/Misc/run-help, Functions/Misc/zcalc, Functions/Misc/zkbd: + unify top lines as #!/bin/zsh (followed by options). + * Peter: 24235: Completion/Base/Utility/_arguments: handle underscores. diff --git a/Functions/Calendar/calendar_add b/Functions/Calendar/calendar_add index 6c61a3cba..e8c535d59 100644 --- a/Functions/Calendar/calendar_add +++ b/Functions/Calendar/calendar_add @@ -1,4 +1,4 @@ -#!/bin/env zsh +#!/bin/zsh # All arguments are joined with spaces and inserted into the calendar # file at the appropriate point. diff --git a/Functions/Example/cat b/Functions/Example/cat index 612deac03..15dd75b38 100644 --- a/Functions/Example/cat +++ b/Functions/Example/cat @@ -1,4 +1,4 @@ -#! /usr/local/bin/zsh -f +#!/bin/zsh -f local file diff --git a/Functions/Example/zless b/Functions/Example/zless index 809ce35c7..58103bd8c 100644 --- a/Functions/Example/zless +++ b/Functions/Example/zless @@ -1,4 +1,4 @@ -#!/usr/bin/zsh -f +#!/bin/zsh -f # # zsh function script to run less on various inputs, decompressing as required. # Author: Phil Pennock. zsh-hacks@athenaeum.demon.co.uk diff --git a/Functions/Misc/checkmail b/Functions/Misc/checkmail index fc987e871..e3597bf24 100644 --- a/Functions/Misc/checkmail +++ b/Functions/Misc/checkmail @@ -1,4 +1,4 @@ -#! /usr/local/bin/zsh +#!/bin/zsh # # This autoloadable function checks the folders specified as arguments # for new mails. The arguments are interpreted in exactly the same way diff --git a/Functions/Misc/run-help b/Functions/Misc/run-help index bae321890..ec0334118 100644 --- a/Functions/Misc/run-help +++ b/Functions/Misc/run-help @@ -1,4 +1,4 @@ -#!/usr/local/bin/zsh +#!/bin/zsh # # Figure out where to get the best help, and get it. # diff --git a/Functions/Misc/zcalc b/Functions/Misc/zcalc index 9ce02c02f..1c07e3798 100644 --- a/Functions/Misc/zcalc +++ b/Functions/Misc/zcalc @@ -1,4 +1,4 @@ -#!/usr/local/bin/zsh -i +#!/bin/zsh -i # # Zsh calculator. Understands most ordinary arithmetic expressions. # Line editing and history are available. A blank line or `q' quits. diff --git a/Functions/Misc/zkbd b/Functions/Misc/zkbd index 6b7959979..a1007cc65 100644 --- a/Functions/Misc/zkbd +++ b/Functions/Misc/zkbd @@ -1,4 +1,4 @@ -#! /bin/zsh -f +#!/bin/zsh -f [[ -o interactive ]] && { local -i ARGC -- cgit 1.4.1