From: php-coder <php-coder@altlinux.ru> To: Sergey Lebedev <linux@vlink.ru> Cc: community@altlinux.ru Subject: Re: [Comm] zsh tips Date: Thu, 30 Jun 2005 11:25:17 +0700 Message-ID: <auto-000274884874@intranet.ru> (raw) In-Reply-To: <20050628142153.GA12397@vgg.ru> --- Sergey Lebedev 2005-06-28 18:21:53 +0400 +++ php-coder 2005-06-29 21:29:14 +0700 SL> Делюсь своим приглашением командной строки SL> PS1="$(print '%{\e[1;32m%}-=%{\e[0m%} SL> %{\e[1;31m%}(%{\e[0m%}%n%{\e[1;31m%}) SL> %{\e[0m%}%{\e[1;32m%}=-%{\e[0m%} SL> %{\e[1;33m%}[%{\e[0m%}%m:%3~%{\e[1;33m%}]%{\e[0m%} ')" SL> Только перевод строчки убрать. Это типа одна строка. :) Спасибо. Посмотрел и тоже чуток изменил свое :) Добавил цвету: PROMPT=$(print "[c%(?.%?.%{\e[31;1;40m%}%?%{\e[0m%})der@%m %~]$ ") Вообщем-то обычное приглашение, но вот когда программа отрабатывает с ошибкой, то код ошибки подсвечивается ярко-красным цветом -- чтобы было заметно :) SL> compctl -g '*.mp3' + -g '*(-/)' mpg123 Почти хорошо. Но что-то как-то у меня автодополнение, не сломалось, но работает странно и не во всех случаях: [c0der@mycomp ~]$ mpg123 ~music/Европа+/Ch<Tab> Chemical\ Brothers\ -\ Galvanize.mp3 Chemical\ Brothers\ -\ Hey\ Boy\ Hey\ Girl.mp3 ... Chris\ Rea\ -\ Auberge.mp3 Chris\ Rea\ -\ Road\ To\ Hell.mp3 Далее я хочу послушать Chemical Brothers. Ввожу 'em', жму <Tab>: [c0der@mycomp ~]$ mpg123 ~music/Европа+/Chemical\ Brothers\ -\ После этого пытаюсь еще раз посмотреть список доступных песен. Но сколько бы я ни жал <Tab> нет ни то что списка, даже автодополнения простейшего :( Подозреваю, что это связано с пробелами. Может рецепт какой есть? -- + php-coder + php-coder[at]altlinux[dot]ru
next prev parent reply other threads:[~2005-06-30 4:25 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-06-28 11:09 php-coder 2005-06-28 14:21 ` Sergey Lebedev 2005-06-30 4:25 ` php-coder [this message] 2005-07-04 17:15 ` [Comm] " Michael Shigorin 2005-07-05 6:59 ` Maxim Tyurin
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=auto-000274884874@intranet.ru \ --to=php-coder@altlinux.ru \ --cc=community@altlinux.ru \ --cc=linux@vlink.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