Ode to the Shell (Was: which file manager you use?)

Charles Howse chowse at charter.net
Thu Feb 5 23:59:00 UTC 2004


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

On Thursday 05 February 2004 05:30 pm, Hal Burgiss wrote:
> On Thu, Feb 05, 2004 at 05:18:15PM -0600, Charles Howse wrote:
> > [charles at moe charles]$ echo $SHELL
> > /bin/bash
> >
> > [charles at moe charles]$ alias
> > alias l.='ls -d .* --color=tty'
> > alias ll='ls -l --color=tty'
> > alias ls='ls --color=tty'
> > alias vi='vim'
> > alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot
> > - --show-tilde'
>
> $ grep -r ^alias /etc/profile.d/
> /etc/profile.d/colorls.csh:alias ll 'ls -l --color=tty'
> /etc/profile.d/colorls.csh:alias l. 'ls -d .* --color=tty'
> /etc/profile.d/colorls.csh:alias ls 'ls --color=tty'
> /etc/profile.d/colorls.csh:alias ll 'ls -l'
> /etc/profile.d/colorls.csh:alias l. 'ls -d .*'
> /etc/profile.d/which-2.sh:alias which='alias | /usr/bin/which
> --tty-only --read-alias --show-dot --show-tilde'
> /etc/profile.d/mc.csh:alias mc 'setenv MC `/usr/bin/mc -P \!*`; cd
> $MC; unsetenv MC'
> /etc/profile.d/vim.csh:alias vi vim

Thanks Hal.
Geeez Louise, does that mean that I can't put my custom aliases in ~/.bashrc?
Do they now have to be in the format of /etc/profile.d/*?
No more  echo "alias x='logout'" >> ~/.bashrc?

- -- 
Charles Howse
Jackson, TN
Fedora Core 1 Uptime:  6:52
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAItjE/S+VsB9RMKgRAlubAKCNP45dnzPHrtkqr0pHzFpjZ4ouggCeOInD
QPkxjtyHDXhSDdiALnGWE08=
=xoxA
-----END PGP SIGNATURE-----





More information about the fedora-list mailing list