* Andrey Melnikoff <[EMAIL PROTECTED]> [2007-06-15 23:57:46+0400] > Roman Cheplyaka <[EMAIL PROTECTED]> wrote: > > [-- text/plain, кодировка quoted-printable, кодировка: utf-8, 19 строк --] > > > * Dmitry E. Oboukhov <[EMAIL PROTECTED]> [2007-06-15 16:37:23+0400] > > > > > > >> .bashrc/.zshrc > > > > > > > Для login shell это не сработает. > > > не понял, почему это? > > > When an interactive shell that is not a login shell is started, bash reads > > ~~~~~~~~~~~~~~~~~~~~ > > and executes commands from /etc/bash.bashrc and ~/.bashrc, if these > > files > > exist. > А чтож тогда case $TERM в вышеописанном bash.bashrc хрен выполняется, > и приходиться в ~/.bashrc этот кусок тащить ?
Понятия не имею.
23:09:~% sudo sh -c 'echo "echo hi" >> /etc/bash.bashrc'; bash
hi
[EMAIL PROTECTED]:~$
--
Roman I. Cheplyaka
http://ro-che.info/
signature.asc
Description: Digital signature

