zsh-users
 help / color / mirror / code / Atom feed
* zsh portable script
@ 2010-07-12 14:46 Atom Smasher
  2010-07-12 15:35 ` Sebastian Stark
                   ` (3 more replies)
  0 siblings, 4 replies; 29+ messages in thread
From: Atom Smasher @ 2010-07-12 14:46 UTC (permalink / raw)
  To: zsh-users

on freebsd, zsh installs as /usr/local/bin/zsh. on linux (and most other 
systems?) it installs as /usr/bin/zsh.

what's the best way to make zsh script portable between linux and freebsd?

i could start the script with:
 	#!/usr/bin/env zsh

or i could specify that the script be executed as:
 	zsh script

is there a better way?


-- 
         ...atom

  ________________________
  http://atom.smasher.org/
  762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
  -------------------------------------------------

 	"WAR IS PEACE, FREEDOM IS SLAVERY, IGNORANCE IS STRENGTH"
 	 The two minutes hate ended with this message
 	 which is the slogan of the Party.
 		-- George Orwell


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2010-07-21  8:35 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-12 14:46 zsh portable script Atom Smasher
2010-07-12 15:35 ` Sebastian Stark
2010-07-12 16:10   ` Joke de Buhr
2010-07-12 16:17   ` Vincent Lefevre
2010-07-12 15:37 ` Joke de Buhr
2010-07-12 15:45   ` Joke de Buhr
2010-07-12 16:01     ` Frank Terbeck
2010-07-12 16:15     ` Vincent Lefevre
2010-07-12 16:18       ` Vincent Lefevre
2010-07-12 16:31         ` Joke de Buhr
2010-07-12 16:43           ` Vincent Lefevre
2010-07-12 16:22       ` Sebastian Stark
2010-07-12 16:39         ` Vincent Lefevre
2010-07-12 16:47           ` Frank Terbeck
2010-07-13 13:02       ` Atom Smasher
2010-07-13 14:29         ` Benjamin R. Haskell
2010-07-13 15:28           ` Atom Smasher
2010-07-13 17:01             ` Benjamin R. Haskell
2010-07-14  1:11               ` Atom Smasher
2010-07-14 11:45           ` Atom Smasher
2010-07-14 15:00             ` Atom Smasher
2010-07-13 13:43   ` François Revol
2010-07-20 14:01     ` Thorsten Kampe
2010-07-20 14:13       ` François Revol
2010-07-20 13:53   ` Thorsten Kampe
2010-07-20 14:07     ` François Revol
2010-07-21  8:34       ` Thorsten Kampe
2010-07-12 15:37 ` Vincent Lefevre
2010-07-12 16:06 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).