Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

"autoload -U" expanding alias



[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