From: Álvaro A. Novo <novo@uiuc.edu> Date: Thu, 21 Dec 2000 10:04:13 -0600 Message-Id: <0012211004130F.00435@friedman> Subject: Re: [SLE] Alias file On Thursday 21 December 2000 10:06, Mark Hounschell wrote:
The above aliases are set in /etc/profile. If you want to add more use /etc/profile.local for global aliases or your .bashrc or .profile in your home directory for non-global.
If your .bashrc reads: test -e ~/.alias && . ~/.alias then you can place all your alias in ~/.alias. Here's sneak of mine: #!/bin/bash # Commands shortcuts alias gv='gv -geometry 800x925-0+0' alias c:='mount /dev/hda1' alias uc:='umount /dev/hda1' alias tips='vi ~/projects/learn.linux/tips' # Directories shortcuts alias cdp='cd ~/projects' alias cdw='cd ~/projects/webpage' alias sc='cd ~/projects/scripts' alias cd2='cd /home2' alias cdd='cd /home/anovo/projects/photos/download' alias raquel='cd /home/anovo/projects/photos/raquel/2000/december' ... Alvaro Novo SuSE 6.4 -=- Kernel 2.2.17 -=- KDE 2.0.1 10:03am up 1 day, 15:11, 8 users, load average: 0.10, 0.08, 0.03