zsh-users
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: "Pol  (Admin)" <xtekhne@gmail.com>, <zsh-users@zsh.org>
Cc: Paolo Pumilia <paolo.pumilia@gmail.com>
Subject: Re: execution in zshrc
Date: Fri, 11 May 2018 15:15:11 +0100	[thread overview]
Message-ID: <20180511151511.5c0b67aa@camnpupstephen.cam.scsc.local> (raw)
In-Reply-To: <CABkwP4eY1dd6mRWv43pn0wwwrhZmGGuo152niCZmvneBu7+mFg@mail.gmail.com>

On Fri, 11 May 2018 14:30:32 +0200
"Pol  (Admin)" <xtekhne@gmail.com> wrote:
> That works, thank you, but something is still wrong in my scripts,
> My ubuntu_system function cannot be found at the start, (yet, noo
> problem as my zshrc is sourced from terminal)
> Here enclosed my function

This is all standard stuff.  You either have your function defined
inline in the startup file before it's used --- which is as good as
anything if you're always going to need to define it, as you obviously
are --- or you use the autoload mechanism: see AUTOLOADING FUNCTIONS in
the zshmisc manual.

pws


      reply	other threads:[~2018-05-11 14:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20180511100941epcas3p2a7f5d1bcbf7649f3dd5be354200d3858@epcas3p2.samsung.com>
2018-05-11 10:07 ` Pol  (Admin)
2018-05-11 11:31   ` Peter Stephenson
2018-05-11 12:30     ` Pol  (Admin)
2018-05-11 14:15       ` Peter Stephenson [this message]

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=20180511151511.5c0b67aa@camnpupstephen.cam.scsc.local \
    --to=p.stephenson@samsung.com \
    --cc=paolo.pumilia@gmail.com \
    --cc=xtekhne@gmail.com \
    --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).