zsh-users
 help / color / mirror / code / Atom feed
From: Thorsten Kampe <thorsten@thorstenkampe.de>
To: zsh-users@sunsite.dk
Subject: "autoload -U" expanding alias
Date: Tue, 23 Mar 2004 22:43:12 +0100	[thread overview]
Message-ID: <c2d2m7gebkkt.dlg@thorstenkampe.de> (raw)

[zsh 4.2.0 on Gentoo]

I have a script that zcompiles some rcfiles. It's asking whether to
overwrite files:
re-compiling /home/thorsten/.zsh/.zlogout.zwc: mv: overwrite
`/home/thorsten/.zsh/.zlogout.zwc.old', overriding mode 0400? 

What's happening and how can I prevent this question?

The "-U" keeps my "mv -i" alias from being expanded....

Thorsten

[1]
,---
| #! /bin/zsh -f
| emulate -LR zsh
| 
| localzdotdir=~/.zsh
| nwzdotdir=~/mnt/nwhome/ifolder/conf/zsh
| 
| autoload -U zrecompile
| zrecompile -p -R /etc/profile.d/zshell.zsh -- \
|               -R /etc/zprofile             -- \
|               -R /etc/zsh/zprofile         -- \
|               -M $localzdotdir/.zcompdump  -- \
|               -R $localzdotdir/.zlogin     -- \
|               -R $localzdotdir/.zlogout    -- \
|               -R $localzdotdir/.zshrc      -- \
|               -R ~/.zshenv                 -- \
|               -M $nwzdotdir/.zcompdump     -- \
|               -R $nwzdotdir/.zlogin        -- \
|               -R $nwzdotdir/.zlogout       -- \
|               -R $nwzdotdir/.zshrc
`---


             reply	other threads:[~2004-03-23 21:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-23 21:43 Thorsten Kampe [this message]
2004-03-24 18:36 ` Bart Schaefer
2004-03-24 20:41   ` Thorsten Kampe
2004-03-24 20:53     ` Peter Stephenson
2004-03-25  3:51       ` Bart Schaefer
2004-03-25 10:13         ` Peter Stephenson

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=c2d2m7gebkkt.dlg@thorstenkampe.de \
    --to=thorsten@thorstenkampe.de \
    --cc=zsh-users@sunsite.dk \
    /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).