From: Sergey Vlasov <vsu@altlinux.ru> To: community@lists.altlinux.org Subject: Re: [Comm] bashrc, bashrc.d и неинтерактивный shell Date: Sun, 16 Nov 2008 23:21:56 +0300 Message-ID: <20081116202156.GC4793@atlas.home> (raw) In-Reply-To: <957265820811161115m43b75285m4885dabe93133c08@mail.gmail.com> [-- Attachment #1: Type: text/plain, Size: 951 bytes --] On Mon, Nov 17, 2008 at 01:15:17AM +0600, Denis G. Samsonenko wrote: > Сейчас ещё раз проверил -- действительно наследует. Странно, у меня в > первый раз почему-то данные переменные не значились в выводе set в > оболочке mc, потому и решил, что не сработает. Возможно, эта проверка выполнялась сразу после внесения изменений в /etc/profile.d/* - без выполнения нового входа пользователя. > Опять же тогда непонятно мне, почему же тогда раньше bash-completion > не работал раньше в том же mc, когда он находился в /etc/profile.d, и > заработал только когда был перенесён в /etc/bashrc.d > (https://bugzilla.altlinux.org/show_bug.cgi?id=9273), если его > оболочка наследует от "первоначального login shell"? Включение bash-completion осуществляется не через переменные окружения, а через функции shell и прочие настройки, которые не наследуются, как окружение, и действительно должны делаться в каждом интерактивном процессе shell. [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2008-11-16 20:21 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-11-15 5:27 Denis G. Samsonenko 2008-11-15 7:55 ` [Comm] Настройка xinetd Кудрявцев Сергей 2008-11-15 8:53 ` Andrey Rahmatullin 2008-11-15 8:49 ` [Comm] bashrc, bashrc.d и неинтерактивный shell Sergey Vlasov 2008-11-15 18:43 ` Denis G. Samsonenko 2008-11-16 8:19 ` Sergey Vlasov 2008-11-16 19:15 ` Denis G. Samsonenko 2008-11-16 20:21 ` Sergey Vlasov [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20081116202156.GC4793@atlas.home \ --to=vsu@altlinux.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git