On Thu, Mar 08, 2007 at 02:05:42PM -0800, Toshio Kuratomi wrote: > > Why is a script that checks a user-defined ENV variable preferable to > > a user-defined shell alias? > Example: network shared home directories. When mounted on the server, I > might have emacs-nox, on the lab computer emacs-gtk and emacs-nox, and > on my workstation emacs-gtk only. If the home directory is nfs mounted > how can I set the alias in this environment? Having a script that does > autodetection and has a "user prefers" setting makes more sense. But it's trivial. If you always want the text version: alias emacs "emacs -nw" and if you want the GUI version when available, don't alias anything. -- Matthew Miller mattdm@xxxxxxxxxx <http://mattdm.org/> Boston University Linux ------> <http://linux.bu.edu/> -- Fedora-maintainers mailing list Fedora-maintainers@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-maintainers -- Fedora-maintainers-readonly mailing list Fedora-maintainers-readonly@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly