<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comentarios en: Terminal con aspecto de DOS</title> <atom:link href="http://120linux.com/terminal-aspecto-dos/feed/" rel="self" type="application/rss+xml" /><link>http://120linux.com/terminal-aspecto-dos/</link> <description>Blog de Ubuntu, Linux, software libre…</description> <lastBuildDate>Tue, 07 Sep 2010 01:29:40 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=abc</generator> <item><title>Por: Nitsuga</title><link>http://120linux.com/terminal-aspecto-dos/comment-page-1/#comment-28994</link> <dc:creator>Nitsuga</dc:creator> <pubDate>Fri, 29 May 2009 21:45:12 +0000</pubDate> <guid
isPermaLink="false">http://120linux.com/?p=547#comment-28994</guid> <description>Ya se que el post es medio viejo, pero igual quiero compartir mi prompt:http://www.ubuntu-pics.de/bild/15318/screenshot_04_BDH5Cx.pngY acá el código en el .bashrceresroot () {
if [ $(id -u) = 0 ]; then
echo -n &#039;\e[45m\e[1;37m&#039;
else
echo -n &#039;\e[1;32m&#039;
fi
}
inputeresroot () {
if [ $(id -u) = 0 ]; then
echo -n &#039;1&#039;
else
echo -n 0
fi
}carita () {
e=$?
if [ $e = 0 ]; then
echo -e &#039;\e[32m:)\e[0m&#039;;
true;
else
echo -e &#039;\e[31m:( &#039;$e&#039;\e[0m&#039;;
return $e;
fi
}
PS1=&#039;${debian_chroot:+($debian_chroot)}&#039;$(eresroot)&#039;\u\e[0m@\e[0;34m\h `carita` \e[0;32m\w\n\[\e[35m\](\t) \#\[\e[0;$(inputeresroot)m\]\$ &#039;</description> <content:encoded><![CDATA[<p>Ya se que el post es medio viejo, pero igual quiero compartir mi prompt:</p><p><a
href="http://www.ubuntu-pics.de/bild/15318/screenshot_04_BDH5Cx.png" rel="nofollow">http://www.ubuntu-pics.de/bild/15318/screenshot_04_BDH5Cx.png</a></p><p>Y acá el código en el .bashrc</p><p>eresroot () {<br
/> if [ $(id -u) = 0 ]; then<br
/> echo -n &#8216;\e[45m\e[1;37m'<br
/> else<br
/> echo -n '\e[1;32m'<br
/> fi<br
/> }<br
/> inputeresroot () {<br
/> if [ $(id -u) = 0 ]; then<br
/> echo -n &#8217;1&#8242;<br
/> else<br
/> echo -n 0<br
/> fi<br
/> }</p><p>carita () {<br
/> e=$?<br
/> if [ $e = 0 ]; then<br
/> echo -e &#8216;\e[32m:)\e[0m';<br
/> true;<br
/> else<br
/> echo -e '\e[31m:( '$e'\e[0m';<br
/> return $e;<br
/> fi<br
/> }<br
/> PS1='${debian_chroot:+($debian_chroot)}'$(eresroot)'\u\e[0m@\e[0;34m\h `carita` \e[0;32m\w\n\[\e[35m\](\t) \#\[\e[0;$(inputeresroot)m\]\$ &#8216;</p> ]]></content:encoded> </item> <item><title>Por: Methos</title><link>http://120linux.com/terminal-aspecto-dos/comment-page-1/#comment-16725</link> <dc:creator>Methos</dc:creator> <pubDate>Tue, 22 Jul 2008 18:12:27 +0000</pubDate> <guid
isPermaLink="false">http://120linux.com/?p=547#comment-16725</guid> <description>Gracias, pero ¿quién quiere al DOS de vuelta?¡¡120% GNU/Linux!! ¡Sin vuelta atrás! Jejeje... :D</description> <content:encoded><![CDATA[<p>Gracias, pero ¿quién quiere al DOS de vuelta?</p><p>¡¡120% GNU/Linux!! ¡Sin vuelta atrás! Jejeje&#8230; :D</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 2/9 queries in 0.079 seconds using disk

Served from: 120linux.com @ 2010-09-07 20:18:03 -->