zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Subject: Re: fndir introspection, site-packages documentation
Date: Tue, 17 Mar 2015 18:46:46 +0000	[thread overview]
Message-ID: <20150317184646.32cbb43c@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <150317085233.ZM16331@torch.brasslantern.com>

On Tue, 17 Mar 2015 08:52:33 -0700
Bart Schaefer <schaefer@brasslantern.com> wrote:
> On Mar 16,  5:13pm, Peter Stephenson wrote:
> } Subject: Re: fndir introspection, site-packages documentation
> }
> } On Mon, 16 Mar 2015 09:08:29 -0700
> } Bart Schaefer <schaefer@brasslantern.com> wrote:
> } > I will
> } > however note that I think --disable-site-fndir ought to do exactly that,
> } > and the documentation blurb is what needs fixing.  If the shell is being
> } > configured for some kind of secure/embedded environment, removing all
> } > access to locally added functions is perfectly reasonable.
> } 
> } Yes, that seems right.
> 
> OK, but that's not actually what happens if you change the --prefix.  You
> can't currently get both a different prefix and no extra directory in fpath.

I think you're suggesting the following.  Let we know explicitly how
this needs to change if not.

pws

diff --git a/configure.ac b/configure.ac
index 7e770cd..e4de193 100644
--- a/configure.ac
+++ b/configure.ac
@@ -318,7 +318,8 @@ fi], [sitefndir=${datadir}/${tzsh_name}/site-functions])
 dnl Add /usr/local/share/zsh/site-functions if not yet present
 dnl owing to $sitefndir, whether or not explicitly given.
 dnl If not explicitly given, it hasn't been expanded yet.
-if test X$sitefndir = X/usr/local/share/zsh/site-functions
+if test X$sitefndir = X/usr/local/share/zsh/site-functions || \
+   test X$sitefndir = Xno
 then fixed_sitefndir=''
 elif test X$prefix != X/usr/local; then
   if test X$prefix = XNONE && test X$ac_default_prefix = X/usr/local; then


  reply	other threads:[~2015-03-17 18:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20150313224121.GO4524@isis.sigpipe.cz>
     [not found] ` <150313203904.ZM25016@torch.brasslantern.com>
     [not found]   ` <20150315021436.GQ4524@isis.sigpipe.cz>
     [not found]     ` <150315121447.ZM27996@torch.brasslantern.com>
2015-03-16  8:08       ` Roman Neuhauser
2015-03-16 16:08         ` Bart Schaefer
2015-03-16 16:46           ` Ray Andrews
2015-03-17 15:41             ` Bart Schaefer
2015-03-17 15:55               ` Ray Andrews
2015-03-16 17:05           ` Roman Neuhauser
2015-03-17 15:45             ` Bart Schaefer
2015-03-17 16:03               ` Roman Neuhauser
2015-03-16 17:13           ` Peter Stephenson
2015-03-16 21:22             ` Roman Neuhauser
2015-03-17 15:52             ` Bart Schaefer
2015-03-17 18:46               ` Peter Stephenson [this message]
2015-03-18  3:38                 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150317184646.32cbb43c@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).