Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: shebang consistency



On Thu, Dec 13, 2007 at 09:12:13PM +0000, Peter Stephenson wrote:
> Go ahead if you like, with or without the space.

Index: Functions/Calendar/calendar_add
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Calendar/calendar_add,v
retrieving revision 1.5
diff -u -r1.5 calendar_add
--- Functions/Calendar/calendar_add	29 Nov 2007 09:49:43 -0000	1.5
+++ Functions/Calendar/calendar_add	13 Dec 2007 22:08:17 -0000
@@ -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.
Index: Functions/Example/cat
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Example/cat,v
retrieving revision 1.1
diff -u -r1.1 cat
--- Functions/Example/cat	2 Apr 2001 12:24:08 -0000	1.1
+++ Functions/Example/cat	13 Dec 2007 22:08:17 -0000
@@ -1,4 +1,4 @@
-#! /usr/local/bin/zsh -f
+#!/bin/zsh -f
 
 local file
 
Index: Functions/Example/zless
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Example/zless,v
retrieving revision 1.1
diff -u -r1.1 zless
--- Functions/Example/zless	2 Apr 2001 12:28:48 -0000	1.1
+++ Functions/Example/zless	13 Dec 2007 22:08:17 -0000
@@ -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@xxxxxxxxxxxxxxxxxxxxx
Index: Functions/Misc/checkmail
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Misc/checkmail,v
retrieving revision 1.5
diff -u -r1.5 checkmail
--- Functions/Misc/checkmail	15 Sep 2006 18:22:19 -0000	1.5
+++ Functions/Misc/checkmail	13 Dec 2007 22:08:17 -0000
@@ -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
Index: Functions/Misc/run-help
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Misc/run-help,v
retrieving revision 1.6
diff -u -r1.6 run-help
--- Functions/Misc/run-help	15 Oct 2006 17:30:13 -0000	1.6
+++ Functions/Misc/run-help	13 Dec 2007 22:08:17 -0000
@@ -1,4 +1,4 @@
-#!/usr/local/bin/zsh
+#!/bin/zsh
 #
 # Figure out where to get the best help, and get it.
 #
Index: Functions/Misc/zcalc
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Misc/zcalc,v
retrieving revision 1.14
diff -u -r1.14 zcalc
--- Functions/Misc/zcalc	19 Apr 2006 16:09:07 -0000	1.14
+++ Functions/Misc/zcalc	13 Dec 2007 22:08:17 -0000
@@ -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.
Index: Functions/Misc/zkbd
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Misc/zkbd,v
retrieving revision 1.4
diff -u -r1.4 zkbd
--- Functions/Misc/zkbd	26 Feb 2007 07:44:10 -0000	1.4
+++ Functions/Misc/zkbd	13 Dec 2007 22:08:18 -0000
@@ -1,4 +1,4 @@
-#! /bin/zsh -f
+#!/bin/zsh -f
 
 [[ -o interactive ]] && {
     local -i ARGC



Messages sorted by: Reverse Date, Date, Thread, Author