Mailinglist Archive: opensuse-bugs (15100 mails)

< Previous Next >
[Bug 326128] Wrong PS1 in MC
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 19 Sep 2007 04:00:26 -0600 (MDT)
  • Message-id: <20070919100026.85D8BCC789@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=326128#c3


Dr. Werner Fink <werner@xxxxxxxxxx> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |werner@xxxxxxxxxx
         AssignedTo|ro@xxxxxxxxxx                                   |nadvornik@xxxxxxxxxx
             Status|NEEDINFO                                        |NEW
      Info Provider|werner@xxxxxxxxxx                               |




--- Comment #3 from Dr. Werner Fink <werner@xxxxxxxxxx>  2007-09-19 04:00:26 MST ---
Fix this in mc or mc wrapper script. I'll not go to change
the prompt in bash due to a broken mc.

Beside this the line

  MC_USER=`id | sed 's/[^(]*(//;s/).*//'`

in /usr/share/mc/bin/mc-wrapper.sh or the line

  set MC_USER="`id | sed 's/[^(]*(//;s/).*//'`"

can be written as

  MC_USER=`id -un`

and

  set MC_USER=`id -un`

.. just tested mc within the bash and PS1='$(ppwd \l)\u@\h:\w> '
and I've no problem at least on fatou, I only see a `$ ' as prompt.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References