ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Denis G. Samsonenko" <d.g.samsonenko@gmail.com>
To: "ALT Linux Community" <community@lists.altlinux.org>
Subject: Re: [Comm] bash_completion для пользователя
Date: Tue, 10 Jul 2007 01:20:00 +0900
Message-ID: <957265820707090920s4a84ef70v495fb9eed41b6257@mail.gmail.com> (raw)
In-Reply-To: <46925D15.4070004@micmedia.ru>

Привет!

10.07.07, Alexei V. Mezin написал:
> Теперь в konsole (рутовская, получена из юзерской через su -) apt-get
> i<TAB> и получаю дописанное слово install. В той же konsole, но родной

Ну правильно, su - запускает оболочку как логин-шелл, потому
/etc/profile.d/bash-completion.sh отрабатывает. Попробуйте теперь
просто su, без "-" и увидите разницу.

Также можете запустить su - имя_вашего_пользователя, и получите
оболочку, запущенную как логин-шелл, в которой bash-completion будет
работать.

> пользовательской: apt-get i<TAB> ничего не делает. Сразу скажу: машину
> перезагружал, и не раз. Так что все скрипты, если бы они были,
> отработали бы.

Проблема в том, как я уже писал, что bash-completion.sh лежит в
/etc/profile.d. Елси бы он лежал в /etc/bashrc.d, то проблем бы не
возникало.

-- 
Всего доброго,

Денис.

  reply	other threads:[~2007-07-09 16:20 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
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 [this message]
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=957265820707090920s4a84ef70v495fb9eed41b6257@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