Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Autoloaded bash shell scripts treated as zsh
- X-seq: zsh-users 8562
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Autoloaded bash shell scripts treated as zsh
- Date: Mon, 7 Mar 2005 23:41:10 +0000 (UTC)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxxx>
Hi,
I used a tip from one of the faqs (Peter Stephenson I think) to autoload all my
zsh shell scripts.
autoload ${fpath[1]}/*(:t) #autoload all functions in $fpath
As I also use the same directory for my legacy bash scripts, I was unpleasantly
surprised to find that these scripts had also been autoloaded and were now being
treated as zsh scripts.
Easy to fix, either I make the scripts zsh compatible or move them elsewhere.
Q1)
But is that expected behaviour (latest zsh on cygwin)?
Q2)
I was surprised to what extent my bash scripts worked as zsh (mostly only
required the adding of a pre-declaration of any variables), is a reasonable
proportion of bash available from within zsh?
zzapper
BTW this is posted via http://post.gmane.org/post.php?group=gmane.comp.shells.
zsh.user
Messages sorted by:
Reverse Date,
Date,
Thread,
Author