[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Bash scripts for idiots...
- Subject: [ale] Bash scripts for idiots...
- From: scherrey at switchco.com (Benjamin Scherrey)
- Date: Fri, 05 Nov 1999 22:14:31 -0600
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).
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>