Re: How to make custom alias in ~.bash_profile work on F10 86_64

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joachim Backes wrote:

> Tim wrote:
>> On Mon, 2008-12-01 at 14:49 +0700, Yunus wrote:
>>> Is there other way to make my custom alias (put in ~.bash_profile)
>>> work?
>> Just curious, but do they work if you put them in "~/.bashrc"?
> 
> Or in /etc/bashrc.
> 
> Unfortunately, exporting aliases is not supported by bash (neither in 
> /etc/profile nor ~/.bash_profile) :-(

interesting, as i have in my ~/.bashrc;

# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias d='ls'
alias s='cd ..'
alias p='cd -'

### added
alias bye='sudo shutdown -h now'
alias ca='clear;history -c'
alias cs='clear'
alias ch='history -c'
alias dfs='df -B 1024|grep /dev/hd|sort'
alias hm='cd -P'
alias kde='startx'
alias whom='who -HimqT'

and i get;

[geo@argosyiayia ~]$ alias
alias bye='sudo shutdown -h now'
alias ca='clear;history -c'
alias ch='history -c'
alias cp='cp -i'
alias cs='clear'
alias d='ls'
alias dfs='df -B 1024|grep /dev/hd|sort'
alias hm='cd -P'
alias kde='startx'
alias l.='ls -d .* --color=tty'
alias ll='ls -l --color=tty'
alias ls='ls --color=tty'
alias mv='mv -i'
alias p='cd -'
alias rm='rm -i'
alias s='cd ..'
alias vi='vim'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot \
   --show-tilde'
alias whom='who -HimqT'
[geo@argosyiayia ~]$

something must be wrong with my systems, as this is what i have been
doing from first use of linux.

also, executing '. .bashrc' will cause a rereading of '.bashrc' with out
need of log out/in.



peace out.

tc,hago.

g
.

****
in a free world without fences, who needs gates.
**
to mess up a linux box, you need to work at it;
to mess up an ms windows box, you just need to *look at* it.
**
learn linux:
'Rute User's Tutorial and Exposition'   http://rute.2038bug.com/index.html.gz
'The Linux Documentation Project'   http://www.tldp.org/
'LDP HOWTO-index'   http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge'   http://howtoforge.com/
****
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFJM+tH+C4Bj9Rkw/wRAhPNAJ4gp7MtL0T+/CDKLu2D/BCvRk2YBgCgiGIU
qU7ANt57JkWxI7OfbJuQm14=
=AmwN
-----END PGP SIGNATURE-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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