zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Ray Andrews <rayandrews@eastlink.ca>, zsh-users@zsh.org
Subject: Re: trap ERR
Date: Tue, 21 Feb 2017 09:30:44 -0800	[thread overview]
Message-ID: <170221093044.ZM14374@torch.brasslantern.com> (raw)
In-Reply-To: <a5f70912-f9fc-fac7-c1de-3a876542cd98@eastlink.ca>

On Feb 21,  8:56am, Ray Andrews wrote:
}
} > There's nothing to stop you using $fpath and autoload in a script. 
} 
} Yabut that requires one function per file IIRC.

There's also nothing to stop you putting your functions in ~/.zshenv
so that they're available in every shell that starts up.  It's all
down to dividing things appropriately across your init files to get
the right balance of having components you need without too much
startup overhead (and proper wariness of functions that redefine any
common commands like "ls" etc.).


  reply	other threads:[~2017-02-21 17:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-21  6:08 Ray Andrews
2017-02-21 15:52 ` Ray Andrews
2017-02-21 16:41   ` Peter Stephenson
2017-02-21 16:56     ` Ray Andrews
2017-02-21 17:30       ` Bart Schaefer [this message]
2017-02-21 19:57         ` Ray Andrews
2017-02-22  4:21           ` Bart Schaefer
2017-02-22  4:39             ` Ray Andrews

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=170221093044.ZM14374@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=rayandrews@eastlink.ca \
    --cc=zsh-users@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).