From: "Denis G. Samsonenko" <d.g.samsonenko@gmail.com>
To: "ALT Linux Community" <community@lists.altlinux.org>
Subject: Re: [Comm] bash_completion для пользователя
Date: Mon, 9 Jul 2007 23:39:52 +0900
Message-ID: <957265820707090739o2cf91576qa6d3620c0683fe42@mail.gmail.com> (raw)
In-Reply-To: <4692371E.3040000@ntmdt.ru>
Привет!
> А все же, почему "из коробки" bash-completion работает только у рута?
> Такое поведение имеет какое-то обоснование? Может надо сделать что-то,
> чтоб после установки пакета автозавершение команд работало для всех
> пользователей?
У меня работает и из под пользователя. Но фишка в том, что шелл должен
вызываться как логин-шелл, т.к. основной файл лежит тут:
/etc/profile.d/bash-completion.sh.
Соответственно, в X-ах он не работает, т.к. по умолчанию оболочка
запускается не как логин-шелл, а соответственно из /etc/profile.d при
таком запуске ничего не запускается. В некоторых терминалах можно
настроить, чтобы оболочка вызывалась как логин-шелл. Я так сделал,
например, в Terminal. Как это можно сделать в xterm, я не нашёл.
Вообще, я это дело отразил в
https://bugzilla.altlinux.org/show_bug.cgi?id=9273 ещё в марте
прошлого года.
--
Всего доброго,
Денис.
next prev parent reply other threads:[~2007-07-09 14:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-09 13:24 Alexei V. Mezin
2007-07-09 14:39 ` Denis G. Samsonenko [this message]
2007-07-09 14:44 ` Алексей Синицын
2007-07-09 14:52 ` Alexei V. Mezin
2007-07-09 14:59 ` Alexei V. Mezin
2007-07-09 15:09 ` Andrii Dobrovol`s`kii
2007-07-09 15:18 ` Denis G. Samsonenko
2007-07-09 15:43 ` Andrii Dobrovol`s`kii
2007-07-09 15:59 ` Denis G. Samsonenko
2007-07-09 16:06 ` Alexei V. Mezin
2007-07-09 16:20 ` Denis G. Samsonenko
2007-07-09 16:23 ` Alexei V. Mezin
2007-07-09 16:27 ` Denis G. Samsonenko
2007-07-12 15:45 ` ABATAPA
2007-07-09 16:35 ` Andrii Dobrovol`s`kii
2007-07-09 16:34 ` Andrii Dobrovol`s`kii
2007-07-10 2:13 ` Denis G. Samsonenko
2007-07-12 15:47 ` ABATAPA
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=957265820707090739o2cf91576qa6d3620c0683fe42@mail.gmail.com \
--to=d.g.samsonenko@gmail.com \
--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