[ale] Bash scripts for idiots...
Wandered Inn
esoteric at denali.atlnet.com
Fri Nov 5 23:13:56 EST 1999
Benjamin Scherrey wrote:
>
> I appreciate the idea but I really want to do more than just that.
> Only, I need it to run within the current environment and make any
> changes persist within my session. An alias can't do it all. I can't
> believe this isn't a very simple basic thing to do (like a DOS batch
> file).
Try executing the shell in the current environment as follows:
. myshell.sh
>
> later,
>
> Ben Scherrey
>
> Raptor wrote:
> >
> > Why not just set up an alias for the directory in your .bashrc file?
> >
> > alias src='cd /develop/src'
> >
> > I think that will work. I have an alias to my apache directory that
> > looks like this:
> >
> > alias apache='cd /home/httpd'
> <snip>
--
Until later: Geoffrey esoteric at denali.atlnet.com
It should be illegal to yell "Y2K" in a crowded economy.
-- Larry Wall, creator of the programming language Perl
More information about the Ale
mailing list