How to make custom alias in ~.bash_profile work on F10 86_64
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Mon Dec 1 18:02:11 UTC 2008
Yunus wrote:
> Hi Users of Fedora
>
> I added below line to last line fo my ~.bash_profile
> alias l='ls -la'
> I logout and login again then try issuing:
> $ l
> on command prompt but had no effect. Is there other way to make my
> custom alias (put in ~.bash_profile) work?
>
> It has no problem if I make an alias in gnome-terminal :
> $ alias l='ls -la'
> $ l
> Issuing 'l' command on command prompt will produce the desired result.
>
> Thank you
> yunus
>
If I remember correctly, you also need to export the alias. See if
adding "export l" to .bash_profile helps.
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081201/17ab34a9/attachment-0001.sig>
More information about the fedora-list
mailing list