zsh$ alias -g log=/work/beta/p2/worklog
zsh$ less log
zsh$ cp log logtemp
Global aliases are expanded only when they stand alone and
aren't quoted. So if there's a
global alias dir for a directory, you cannot use
emacs dir/file to refer to a file in that
directory. Also, if you defined the global alias
fserv for the hostname
fserv.bkk.ac.uk, you could type telnet
fserv -- but if you type mail
ed@fserv, the shell wouldn't
expand it into a hostname. Named directories and shell variables work
better in cases like those.