Re: Aliases in gnome

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 9:39 AM -0500 6/1/06, Mikkel L. Ellertson wrote:
>Tom Spec wrote:
>> I have setup many aliases in my .bash_profile script on Fedora Core 5.
>> For example:
>>
>> alias ltr="ls -latr"
>>
>> When I ssh to the box, all my aliases work fine, but when I log into
>> gnome locally on the box then start a terminal (gnome-terminal), I don't
>> get any aliases.
>>
>> Is there a way I can get those aliases to work in gnome also?
>>
>> Tom
>>
>As others have stated, you can move then aliases to ~/.bashrc or you
>can change gnome-terminal to come up as a login shell, and it will
>process .bash_profile. This option is under "Title and Command" and
>is called "Run command as login shell". If you want an explanation
>of when .bashrc and .bash_profile are used, you can read the Bash
>man page. The differences between a login shell and a sub-shell are
>worth knowing about.

What I would like to understand is, what issues there are with being a
"login shell", since it isn't the default?  I've been find so far with my
gnome-terminals not being login shells; I see that the virtual consoles are
login shells, and it seems to be OK to be logged in more than once.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux