Is it possible to get to the unexpanded arguments inside a function? It'd
be nice to do something like (from zsh):
function rm
if contains $UNEXPANDED_ARGV '*'
echo -n Are you sure you want to remove all files in (pwd)\?
if string match -qr -- (read) '^[Yy]'
return
end
command rm $argv
end
end
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users