[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Bash scripts for idiots...
- Subject: [ale] Bash scripts for idiots...
- From: esoteric at denali.atlnet.com (Wandered Inn)
- Date: Fri, 05 Nov 1999 23:13:56 -0500
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