File mc-nice-prompt.diff of Package mc46

--- lib/mc-wrapper.sh.in.orig	2015-08-29 20:40:19.520307765 +0300
+++ lib/mc-wrapper.sh.in	2015-08-29 20:40:39.814552364 +0300
@@ -1,6 +1,6 @@
 MC_USER=`id | sed 's/[^(]*(//;s/).*//'`
 MC_PWD_FILE="${TMPDIR-/tmp}/mc-$MC_USER/mc.pwd.$$"
-@bindir@/mc -P "$MC_PWD_FILE" "$@"
+PS1="[\u@\h] " @bindir@/mc -P "$MC_PWD_FILE" "$@"
 
 if test -r "$MC_PWD_FILE"; then
 	MC_PWD="`cat "$MC_PWD_FILE"`"
openSUSE Build Service is sponsored by