<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>13041</bug_id>
          
          <creation_ts>2007-10-05 16:41:30 +0400</creation_ts>
          <short_desc>bash-completion annoys zsh</short_desc>
          <delta_ts>2009-05-10 09:33:38 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>bash-completion</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>9273</dependson>
    
    <dependson>14641</dependson>
    
    <dependson>15068</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>ildar</cc>
    
    <cc>led</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56235</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2007-10-05 16:41:30 +0400</bug_when>
    <thetext>[root@localhost ~]# zsh
/etc/profile.d/bash-completion.sh:[:4: unrecognized condition: `2&apos;

-if [ &quot;$bmajor&quot; -eq 2 ] &amp;&amp; [ &quot;$bminor&quot; &apos;&gt;&apos; 04 ] || [ $bmajor -gt 2 ]; then   #
interactive shell
+if [ &quot;$bmajor&quot; -eq 2 ] &amp;&amp; [ &quot;$bminor&quot; -gt 04 ] || [ &quot;$bmajor&quot; -gt 2 ]; then #
interactive shell

(-gt is prettyprinting, the problem was with missing quotes around the variable
substitution)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56659</commentid>
    <comment_count>1</comment_count>
    <who name="Alex Murygin">alex.murugin</who>
    <bug_when>2007-10-17 20:33:37 +0400</bug_when>
    <thetext>alt04 в инкоминге</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56715</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2007-10-18 18:54:08 +0400</bug_when>
    <thetext>Спасибо :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64322</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-02-22 01:09:44 +0300</bug_when>
    <thetext>When it will be moved to /etc/bashrc.d/
(https://bugzilla.altlinux.org/show_bug.cgi?id=9273 ), there will be no more
need to test that it is bash, not zsh.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64338</commentid>
    <comment_count>4</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-02-22 03:29:53 +0300</bug_when>
    <thetext>(In reply to comment #3)
&gt; When it will be moved to /etc/bashrc.d/
&gt; (https://bugzilla.altlinux.org/show_bug.cgi?id=9273 ), there will be no more
&gt; need to test that it is bash, not zsh.

Предлагаю убрать проверку того, какой это shell, как
ненужный код, т.к. содержимое /etc/bashrc.d/ предназначено только для bash.
(Во-первых, это лишнее действие. Во-вторых, лишняя сложность --
потенциальный источник ошибок, нестыковок при новых версиях пакетов.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64404</commentid>
    <comment_count>5</comment_count>
    <who name="Alex Murygin">alex.murugin</who>
    <bug_when>2008-02-22 17:41:12 +0300</bug_when>
    <thetext>Залито исправленное</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>