[ILUG] aliases in bash
Ross Lynch
kernel at student.nuigalway.ie
Mon Sep 25 15:22:51 IST 2000
On Mon, 25 Sep 2000, Wesley Darlington wrote:
> On Mon, Sep 25, 2000 at 02:35:30PM +0100, Ross Lynch wrote:
> > Trying to set aliases in a shell script that remain active when the shell
> > script is finished running. How is it done?
>
> You want a program to export variables/aliases to its *parent*? I don't
> think it can be done without some magic in the parent. Either that or
> do you just mean `source'ing a shell script?
Could be a stupid question, but how come "alias blah=xyz" in a .bashrc
works?
Ross.
--
[ R o s s L y n c h ]
[ Onesphere Technologies ] [ NUI, Galway ]
[ ross at onesphere.net ] [ kernel at student.nuigalway.ie ]
[ +353 (0)86 4039249 ] [ http://student.nuigalway.ie/~kernel ]
More information about the ILUG
mailing list