zsh-users
 help / color / mirror / code / Atom feed
* "autoload -U" expanding alias
@ 2004-03-23 21:43 Thorsten Kampe
  2004-03-24 18:36 ` Bart Schaefer
  0 siblings, 1 reply; 6+ messages in thread
From: Thorsten Kampe @ 2004-03-23 21:43 UTC (permalink / raw)
  To: zsh-users

[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
`---


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-03-25 10:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-23 21:43 "autoload -U" expanding alias Thorsten Kampe
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

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).