Re: Aliases in gnome

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

 



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.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux