<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-6406593750327945950.post1548008903269126379..comments</id><updated>2008-01-29T16:21:36.452-08:00</updated><category term='DotSunEngineering'/><category term='Software Engineering'/><category term='SunWikis'/><category term='Rails'/><category term='Zoom23'/><category term='MacOS'/><category term='MacBook Pro'/><category term='Gadgets'/><category term='Security'/><category term='Fun'/><category term='Apple'/><category term='Java'/><category term='JavaOne2007'/><category term='JavaFX'/><category term='OpenSolaris'/><category term='Life'/><category term='Sun'/><category term='JRuby'/><category term='Slovakia'/><category term='Ruby'/><category term='Apps'/><category term='Other Ramblings'/><category term='Projects'/><category term='Apple Problems'/><category term='Solaris'/><category term='grizzly-sendfile'/><category term='Glassfish'/><category term='Mediacast'/><title type='text'>Comments on Igor Minar's Blog: My Custom Prompt for Leopard's Terminal</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.igorminar.com/feeds/1548008903269126379/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6406593750327945950/1548008903269126379/comments/default'/><link rel='alternate' type='text/html' href='http://blog.igorminar.com/2008/01/my-custom-prompt-for-leopards-terminal.html'/><author><name>Igor Minar</name><uri>http://www.blogger.com/profile/03520548417275543432</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6406593750327945950.post-5766275791144586155</id><published>2008-01-29T16:21:00.000-08:00</published><updated>2008-01-29T16:21:00.000-08:00</updated><title type='text'>I kind of like colors so beginning of my .bashrc:&lt;...</title><content type='html'>I kind of like colors so beginning of my .bashrc:&lt;BR/&gt;&lt;BR/&gt;# If not running interactively, don't do anything&lt;BR/&gt;[ -z "$PS1" ] &amp;&amp; return&lt;BR/&gt;&lt;BR/&gt;case "$TERM" in&lt;BR/&gt;xterm*|rxvt*)&lt;BR/&gt; # see more at http://www.ibm.com/developerworks/linux/library/l-tip-prompt/&lt;BR/&gt; # set prompt to [user@host:dir]$&lt;BR/&gt;PS1="\[\e[1;37m\][\u@\h:\[\e[0m\]\[\e[1;34m\]\W\[\e[0m\]\[\e[0;37m\]]\$\[\e[0m\] "&lt;BR/&gt;&lt;BR/&gt;# so colors are in sync with ls LSCOLORS="Exfxgxhxcxbxcxcxdxdx"&lt;BR/&gt; export LSCOLORS&lt;BR/&gt;    ;;&lt;BR/&gt;*)&lt;BR/&gt;    PS1='\u@\h:\w\$ '&lt;BR/&gt;    ;;&lt;BR/&gt;esac</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6406593750327945950/1548008903269126379/comments/default/5766275791144586155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6406593750327945950/1548008903269126379/comments/default/5766275791144586155'/><link rel='alternate' type='text/html' href='http://blog.igorminar.com/2008/01/my-custom-prompt-for-leopards-terminal.html?showComment=1201652460000#c5766275791144586155' title=''/><author><name>kyug</name><uri>http://www.blogger.com/profile/07742525511396500066</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.igorminar.com/2008/01/my-custom-prompt-for-leopards-terminal.html' ref='tag:blogger.com,1999:blog-6406593750327945950.post-1548008903269126379' source='http://www.blogger.com/feeds/6406593750327945950/posts/default/1548008903269126379' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2038463764'/></entry><entry><id>tag:blogger.com,1999:blog-6406593750327945950.post-6534198893525109342</id><published>2008-01-21T11:28:00.000-08:00</published><updated>2008-01-21T11:28:00.000-08:00</updated><title type='text'>You can see (almost) my significantly more solaris...</title><content type='html'>You can see (almost) my significantly more solaris centric zsh prompt (on my mac I drop the zone info)&lt;BR/&gt;&lt;BR/&gt;if [ -x /usr/bin/zonename ]&lt;BR/&gt;then&lt;BR/&gt;  export zone=`/usr/bin/zonename`&lt;BR/&gt;else&lt;BR/&gt;  export zone="notzone"&lt;BR/&gt;fi&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;export prompt="[%n@%m(%?) %T %l] {$zone}&lt;BR/&gt;%/&lt;BR/&gt;[%h] "&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;[sferry@7cit001ua(0) 13:19 pts/59] {notzone}&lt;BR/&gt;/export/home/sferry&lt;BR/&gt;[26]&lt;BR/&gt;&lt;BR/&gt;I find that I have sessions on diverse hosts such that the extended info is a necessairy evil.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6406593750327945950/1548008903269126379/comments/default/6534198893525109342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6406593750327945950/1548008903269126379/comments/default/6534198893525109342'/><link rel='alternate' type='text/html' href='http://blog.igorminar.com/2008/01/my-custom-prompt-for-leopards-terminal.html?showComment=1200943680000#c6534198893525109342' title=''/><author><name>Shawn Ferry</name><uri>http://www.blogger.com/profile/10846325729620095432</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.igorminar.com/2008/01/my-custom-prompt-for-leopards-terminal.html' ref='tag:blogger.com,1999:blog-6406593750327945950.post-1548008903269126379' source='http://www.blogger.com/feeds/6406593750327945950/posts/default/1548008903269126379' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-12412785'/></entry></feed>
