Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
"autoload -U" expanding alias
- X-seq: zsh-users 7249
- From: Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: "autoload -U" expanding alias
- Date: Tue, 23 Mar 2004 22:43:12 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxxx>
[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
`---
Messages sorted by:
Reverse Date,
Date,
Thread,
Author