Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Setting up aliases outside .bashrc

  • Subject: Re: Setting up aliases outside .bashrc
  • From: Arne Schmitz <arne.schmitz@mmweg.rwth-aachen.de>
  • Date: Thu, 14 Jul 2005 10:07:09 +0200
  • Newsgroups: alt.os.linux.suse
  • References: <db524j$kji$1@godfrey.mcc.ac.uk>
  • User-agent: KNode/0.9.1
  • Xref: news.mcc.ac.uk alt.os.linux.suse:186797
Roy Schestowitz schrieb:

> Is there some scope
> limitation? Do they expire when scripts apart from .bashrc end?

You have to source the script, not execute it from .bashrc. Sourcing is done
like this:

        . yourscript.sh

Without the leading tab, of course.

Arne

-- 
[--- PGP key FD05BED7 --- http://www.root42.de/ ---]

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index