From: Michael Shigorin <mike@osdn.org.ua> To: community@altlinux.ru Subject: [Comm] Re: zsh - no spelling correction Date: Mon, 13 Jun 2005 14:19:30 +0300 Message-ID: <20050613111930.GD20833@osdn.org.ua> (raw) In-Reply-To: <200506131642.34456.gray.graff@gmail.com> On Mon, Jun 13, 2005 at 04:42:34PM +0800, Aeliya Grevnyov wrote: > Иногда приходится устанавливать пакеты с винта (благо не часто) > командой apt-get install имя_пакета.rpm. Так вот, zsh упорно > не видит файлы на винте (если пользоваться автодополнением пути > - кнопкой TAB), упорно подставляя аналогичные из репозитария. Есть такое. По-хорошему -- completion ему про _путь_ доработать, чтоб можно было сказать apt-get install ./... или /.../.../... > $ ls|grep krus > krusader-1.51-alt1.stable.1.i686.rpm > $ sudo apt-get install krusader > $ sudo apt-get install ./kru > $ sudo apt-get install /ho - здесь он, по идее, должен дополнить > путь до home и так далее (я хочу полный путь указать до файла), > а он опять пытается угадать имя пакета из репоз. > > Вот что добавил > $ cat /etc/zshrc|grep apt > alias apt-get='nocorrect apt-get' > Не помогло. Что не так? Так это completion, а не correction. Можете повесить FR на zsh, но было бы неплохо почитать документацию и сразу с патчиком на /usr/share/zsh/Completion/Debian/_apt, видимо. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
prev parent reply other threads:[~2005-06-13 11:19 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-06-13 8:42 [Comm] " Aeliya Grevnyov 2005-06-13 11:19 ` Michael Shigorin [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=20050613111930.GD20833@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=community@altlinux.ru \ /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