<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>james young &#187; dotfiles</title>
	<atom:link href="http://psyjinx.com/jyoung/tag/dotfiles/feed/" rel="self" type="application/rss+xml" />
	<link>http://psyjinx.com/jyoung</link>
	<description>web application developer</description>
	<lastBuildDate>Fri, 05 Mar 2010 18:55:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to open files from cygwin into Visual Studio</title>
		<link>http://psyjinx.com/jyoung/2010/02/how-to-open-files-from-cygwin-into-visual-studio/</link>
		<comments>http://psyjinx.com/jyoung/2010/02/how-to-open-files-from-cygwin-into-visual-studio/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 07:02:03 +0000</pubDate>
		<dc:creator>James Young</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[dotfiles]]></category>
		<category><![CDATA[mintty]]></category>
		<category><![CDATA[visualstudio2008]]></category>

		<guid isPermaLink="false">http://psyjinx.com/jyoung/?p=242</guid>
		<description><![CDATA[<p>Had the desire to open files from the command line (a cygwin terminal, mintty, to be specific) into my existing session of Visual Studio 2008.  Here is what you can do.</p>
<p>Adjust paths as necessary.  Put this in your bash profile:</p>

export PATH=$PATH:/cygdrive/c/Program\ Files\ \&#40;x86\&#41;/Microsoft\ Visual\ Studio\ 9.0/Common7/IDE/
alias devedit=&#34;devenv \$1 /edit&#34;

<p>Now, this gives you two [...]]]></description>
			<content:encoded><![CDATA[<p>Had the desire to open files from the command line (a cygwin terminal, mintty, to be specific) into my existing session of Visual Studio 2008.  Here is what you can do.</p>
<p>Adjust paths as necessary.  Put this in your bash profile:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PATH</span>=<span style="color: #007800;">$PATH</span>:<span style="color: #000000; font-weight: bold;">/</span>cygdrive<span style="color: #000000; font-weight: bold;">/</span>c<span style="color: #000000; font-weight: bold;">/</span>Program\ Files\ \<span style="color: #7a0874; font-weight: bold;">&#40;</span>x86\<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>Microsoft\ Visual\ Studio\ <span style="color: #000000;">9.0</span><span style="color: #000000; font-weight: bold;">/</span>Common7<span style="color: #000000; font-weight: bold;">/</span>IDE<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">devedit</span>=<span style="color: #ff0000;">&quot;devenv <span style="color: #000099; font-weight: bold;">\$</span>1 /edit&quot;</span></pre></div></div>

<p>Now, this gives you two tools. Well, one, but two will be available on the command line.</p>
<p>The main tool you now have is devenv, which allows you to do all sorts of things.  type <code>devenv /?</code> to see all the things you can do with it.</p>
<p>We are interested in <code>devenv filename /edit</code>.  I would prefer to just type the filename, and not need to type /edit everytime. The alias devedit takes care of this for us.  So, you can do <code>devenv whatever</code> to have access to all the features that tool gives you, and you can do <code>devedit filename</code> to quickly open up the file in your existing Visual Studio session.  If there is no session running, it will start one up.</p>
]]></content:encoded>
			<wfw:commentRss>http://psyjinx.com/jyoung/2010/02/how-to-open-files-from-cygwin-into-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to open a window from terminal in cygwin on vista</title>
		<link>http://psyjinx.com/jyoung/2010/02/how-to-open-a-window-from-terminal-in-cygwin-on-vista/</link>
		<comments>http://psyjinx.com/jyoung/2010/02/how-to-open-a-window-from-terminal-in-cygwin-on-vista/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 11:42:11 +0000</pubDate>
		<dc:creator>James Young</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[dotfiles]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://psyjinx.com/jyoung/?p=237</guid>
		<description><![CDATA[<p>So I got a new Dell through work with Vista installed.  Naturally one of the first things I did was install cygwin so I can use mintty.  This gives me a decent terminal on widnows.  If you don&#8217;t know what those are, I encourage you to give them a shot.</p>
<p>Anyway, having used [...]]]></description>
			<content:encoded><![CDATA[<p>So I got a new Dell through work with Vista installed.  Naturally one of the first things I did was install cygwin so I can use mintty.  This gives me a decent terminal on widnows.  If you don&#8217;t know what those are, I encourage you to give them a shot.</p>
<p>Anyway, having used a mac forever, I found myself missing the &#8216;open&#8217; command that you can do from Terminal (on the mac) to pop open a window from the directory you are in.</p>
<p>With a quick search, I found that someone else already figured this out, so I am going to post my version of it here:</p>
<p>In your .bash_profile, add this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">open</span>=<span style="color: #ff0000;">&quot;cygstart <span style="color: #000099; font-weight: bold;">\$</span>1&quot;</span></pre></div></div>

<p>Then in mintty (or any cygwin terminal) you can cd to where ever you want, then just do &#8216;open [path]&#8216; and it will pop open a windows window for [path].</p>
<p>Examples:</p>
<ul>
<li>open current directory: <code>$ open .</code></li>
<li>open home directory : <code>$ open ~</code></li>
<li>open program files: <code>$ open ~/c/Program\ Files</code></li>
</ul>
<p>Note: that last one assumes you have made a symlink in your home to /cygdrive/c/</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #7a0874; font-weight: bold;">cd</span> ~; <span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>cygdrive<span style="color: #000000; font-weight: bold;">/</span>c</pre></div></div>

<p>Here is the original thread that I found this tip in:<br />
<a href="http://cygwin.com/ml/cygwin/2002-09/msg00632.html">http://cygwin.com/ml/cygwin/2002-09/msg00632.html</a></p>
<p>There are a few solutions posted, my favorite is:<br />
<a href="http://cygwin.com/ml/cygwin/2002-09/msg00635.html">http://cygwin.com/ml/cygwin/2002-09/msg00635.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://psyjinx.com/jyoung/2010/02/how-to-open-a-window-from-terminal-in-cygwin-on-vista/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My .vimrc</title>
		<link>http://psyjinx.com/jyoung/2010/02/my-vimrc/</link>
		<comments>http://psyjinx.com/jyoung/2010/02/my-vimrc/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 04:13:26 +0000</pubDate>
		<dc:creator>James Young</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dotfiles]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://psyjinx.com/jyoung/?p=230</guid>
		<description><![CDATA[
&#34; vim 7.x specific
&#160;
&#34; set to be more vim like
set nocompatible
&#160;
&#34; check paths for .ros alternatives
set includeexpr=substitute&#40;v:fname,'$','.ros','g'&#41;
&#160;
&#34; hide buffers when they go away with :bd
set hidden
&#160;
&#34; set tabs
set expandtab
set tabstop=4
set shiftwidth=4
set autoindent
set cindent
&#160;
&#34; window management
set number
set ruler
set showmode
set laststatus=2
set history=500
set cursorline
au WinLeave * set nocursorline
au WinEnter * set cursorline
&#160;
&#34; search
set incsearch
set hlsearch
set smartcase
&#160;
&#34; colors
syntax on
colorscheme [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="vim" style="font-family:monospace;"><span style="color: #adadad; font-style: italic;">&quot; vim 7.x specific</span>
&nbsp;
<span style="color: #adadad; font-style: italic;">&quot; set to be more vim like</span>
set nocompatible
&nbsp;
<span style="color: #adadad; font-style: italic;">&quot; check paths for .ros alternatives</span>
set includeexpr=<span style="color: #25BB4D;">substitute</span><span style="color: #000000;">&#40;</span>v<span style="color: #000000;">:</span>fname,<span style="color: #C5A22D;">'$'</span>,<span style="color: #C5A22D;">'.ros'</span>,<span style="color: #C5A22D;">'g'</span><span style="color: #000000;">&#41;</span>
&nbsp;
<span style="color: #adadad; font-style: italic;">&quot; hide buffers when they go away with :bd</span>
set hidden
&nbsp;
<span style="color: #adadad; font-style: italic;">&quot; set tabs</span>
set expandtab
set tabstop=<span style="color: #000000; font-weight:bold;">4</span>
set shiftwidth=<span style="color: #000000; font-weight:bold;">4</span>
set autoindent
set <span style="color: #25BB4D;">cindent</span>
&nbsp;
<span style="color: #adadad; font-style: italic;">&quot; window management</span>
set number
set ruler
set showmode
set laststatus=<span style="color: #000000; font-weight:bold;">2</span>
set history=<span style="color: #000000; font-weight:bold;">500</span>
set cursorline
au WinLeave <span style="color: #000000;">*</span> set nocursorline
au WinEnter <span style="color: #000000;">*</span> set cursorline
&nbsp;
<span style="color: #adadad; font-style: italic;">&quot; search</span>
set incsearch
set hlsearch
set smartcase
&nbsp;
<span style="color: #adadad; font-style: italic;">&quot; colors</span>
syntax on
colorscheme desert
set showmatch
au BufRead,BufNewFile <span style="color: #000000;">*.</span>ros set filetype=php
au BufRead,BufNewFile <span style="color: #000000;">*.</span>js<span style="color: #000000;">.</span>ros set filetype=javascript
au BufRead,BufNewFile <span style="color: #000000;">*.</span>css<span style="color: #000000;">.</span>ros set filetype=css
highlight Comment ctermfg=<span style="color: #000000; font-weight:bold;">6</span> 
highlight Folded ctermfg=<span style="color: #000000; font-weight:bold;">7</span> ctermbg=<span style="color: #000000; font-weight:bold;">0</span>
highlight LineNr ctermfg=<span style="color: #000000; font-weight:bold;">6</span> ctermbg=<span style="color: #000000; font-weight:bold;">0</span>
&nbsp;
<span style="color: #adadad; font-style: italic;">&quot; misc</span>
set title
set sc
&nbsp;
<span style="color: #adadad; font-style: italic;">&quot; use wildmenu</span>
set wildmenu
set wildmode=list<span style="color: #000000;">:</span>longest,full
set wildignore<span style="color: #000000;">+</span>=<span style="color: #000000;">*.</span>0,<span style="color: #000000;">*.</span>class,<span style="color: #000000;">*.</span>pyc,<span style="color: #000000;">*.</span>pyo,<span style="color: #000000;">*/</span>CVS<span style="color: #000000;">/</span>,<span style="color: #000000;">*.</span>jar
&nbsp;
<span style="color: #adadad; font-style: italic;">&quot; turn word wrap off</span>
set nowrap
&nbsp;
<span style="color: #adadad; font-style: italic;">&quot; get the backup files in ~/.tmp/</span>
<span style="color: #adadad; font-style: italic;">&quot;#set backupdir=~/.tmp/</span>
<span style="color: #adadad; font-style: italic;">&quot;set directory=~/.tmp/</span>
&nbsp;
<span style="color: #adadad; font-style: italic;">&quot; folding</span>
set foldmethod=marker
&nbsp;
<span style="color: #adadad; font-style: italic;">&quot; If I remember correctly this makes C-k look up things in php_doc</span>
set keywordprg=<span style="color: #000000;">/</span><span style="color: #000000;">&#91;</span>path to<span style="color: #000000;">&#93;</span><span style="color: #000000;">/</span>php_doc
&nbsp;
<span style="color: #adadad; font-style: italic;">&quot; hide the mouse while typing</span>
set mousehide</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://psyjinx.com/jyoung/2010/02/my-vimrc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My .screenrc</title>
		<link>http://psyjinx.com/jyoung/2010/02/my-screenrc/</link>
		<comments>http://psyjinx.com/jyoung/2010/02/my-screenrc/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 13:24:19 +0000</pubDate>
		<dc:creator>James Young</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dotfiles]]></category>
		<category><![CDATA[screen]]></category>

		<guid isPermaLink="false">http://psyjinx.com/jyoung/?p=223</guid>
		<description><![CDATA[<p>This .screenrc has a bunch of commented out lines that I don&#8217;t use, but I know if I delete them, I will need them for some reason and wish I didn&#8217;t.</p>

# Use CTRL-&#60;space&#62; as the escape sequence instead of CTRL-A
# this seems to only work on certain machines
escape '^@^@'
&#160;
# Use ` as the escape sequence [...]]]></description>
			<content:encoded><![CDATA[<p>This .screenrc has a bunch of commented out lines that I don&#8217;t use, but I know if I delete them, I will need them for some reason and wish I didn&#8217;t.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Use CTRL-&lt;space&gt; as the escape sequence instead of CTRL-A</span>
<span style="color: #666666; font-style: italic;"># this seems to only work on certain machines</span>
escape <span style="color: #ff0000;">'^@^@'</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Use ` as the escape sequence instead of CTRL-A</span>
<span style="color: #666666; font-style: italic;">#escape ``</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Once you learn to use the screen scrollback, you'll never scroll in terminal again!</span>
defscrollback <span style="color: #000000;">20000</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Aesthetic Stuff</span>
vbell off
hardstatus alwayslastline
&nbsp;
hardstatus string <span style="color: #ff0000;">&quot;%{gk}[ %{G}%H %{g}][%= %{wk}%?%-Lw%?%{r}(%{W}%n*%f %t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m/%d %{W}%c %{g}]&quot;</span>
<span style="color: #666666; font-style: italic;">#hardstatus string '%{= kc}%H%{g} %{kw}%?%-Lw%?%{W}%n%f%t%?(%u)%?%{w}%?%+Lw%?%=%{c}%m/%d %C %{w}%l%'</span>
<span style="color: #666666; font-style: italic;">#hardstatus string '%{= cK}%-Lw%{= KW}%50&gt;%n%f* %t%{= cK}%+Lw%&lt; %{= kG}%-=%D %d %M %Y %c:%s%{-}'</span>
<span style="color: #666666; font-style: italic;">#hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f %t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m/%d %{W}%c %{g}]'</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Rebind PuTTY &lt;C-?&gt; (127) backspace to &lt;C-H&gt;</span>
bindkey <span style="color: #660033;">-k</span> kD stuff ^H
&nbsp;
<span style="color: #666666; font-style: italic;"># Rebind PuTTY &lt;del&gt; to &lt;right&gt;&lt;backspace&gt;</span>
<span style="color: #666666; font-style: italic;">#bindkey &quot;^[[3~&quot; stuff ^[OC^H</span>
&nbsp;
term xterm-color
setenv SCREEN_TERM <span style="color: #c20cb9; font-weight: bold;">screen</span>
startup_message off
&nbsp;
<span style="color: #666666; font-style: italic;">#termcapinfo  xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l</span>
<span style="color: #666666; font-style: italic;">#termcapinfo  xterm-color Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://psyjinx.com/jyoung/2010/02/my-screenrc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My .ssh/config</title>
		<link>http://psyjinx.com/jyoung/2010/02/my-sshconfig/</link>
		<comments>http://psyjinx.com/jyoung/2010/02/my-sshconfig/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 13:16:02 +0000</pubDate>
		<dc:creator>James Young</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dotfiles]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://psyjinx.com/jyoung/?p=219</guid>
		<description><![CDATA[<p>Sorry, this has to be edited for security reasons&#8230;</p>

Host &#91;hostname1&#93; &#91;hostname2&#93; &#91;hostname3&#93;
    ProxyCommand ssh &#91;hostname&#93; /usr/local/bin/nc -w 5 %h %p
&#160;
Host &#91;hostname1&#93; &#91;hostname2&#93; &#91;hostname3&#93; 
    Compression yes
&#160;
# defaults
Host *
    Protocol 2,1
    PubkeyAuthentication yes
    RSAAuthentication yes
    PasswordAuthentication yes
  [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry, this has to be edited for security reasons&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Host <span style="color: #7a0874; font-weight: bold;">&#91;</span>hostname1<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>hostname2<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>hostname3<span style="color: #7a0874; font-weight: bold;">&#93;</span>
    ProxyCommand <span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #c20cb9; font-weight: bold;">hostname</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nc <span style="color: #660033;">-w</span> <span style="color: #000000;">5</span> <span style="color: #000000; font-weight: bold;">%</span>h <span style="color: #000000; font-weight: bold;">%</span>p
&nbsp;
Host <span style="color: #7a0874; font-weight: bold;">&#91;</span>hostname1<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>hostname2<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>hostname3<span style="color: #7a0874; font-weight: bold;">&#93;</span> 
    Compression <span style="color: #c20cb9; font-weight: bold;">yes</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># defaults</span>
Host <span style="color: #000000; font-weight: bold;">*</span>
    Protocol <span style="color: #000000;">2</span>,<span style="color: #000000;">1</span>
    PubkeyAuthentication <span style="color: #c20cb9; font-weight: bold;">yes</span>
    RSAAuthentication <span style="color: #c20cb9; font-weight: bold;">yes</span>
    PasswordAuthentication <span style="color: #c20cb9; font-weight: bold;">yes</span>
    PreferredAuthentications publickey,password,keyboard-interactive
    ForwardAgent <span style="color: #c20cb9; font-weight: bold;">yes</span>
    ForwardX11 no
    ServerAliveCountMax <span style="color: #000000;">3</span>
    ServerAliveInterval <span style="color: #000000;">600</span>
&nbsp;
Host <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #c20cb9; font-weight: bold;">hostname</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
HostName <span style="color: #7a0874; font-weight: bold;">&#91;</span>ip address<span style="color: #7a0874; font-weight: bold;">&#93;</span>
    Port <span style="color: #7a0874; font-weight: bold;">&#91;</span>port number<span style="color: #7a0874; font-weight: bold;">&#93;</span>
    User <span style="color: #7a0874; font-weight: bold;">&#91;</span>username<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://psyjinx.com/jyoung/2010/02/my-sshconfig/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My .bash_profile</title>
		<link>http://psyjinx.com/jyoung/2010/02/my-bash_profile/</link>
		<comments>http://psyjinx.com/jyoung/2010/02/my-bash_profile/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 13:11:10 +0000</pubDate>
		<dc:creator>James Young</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[dotfiles]]></category>

		<guid isPermaLink="false">http://psyjinx.com/jyoung/?p=216</guid>
		<description><![CDATA[<p>.bash_profile, .profile, .bash_rc &#8230;</p>

if &#91; &#34;$PS1&#34; != &#34;&#34; &#93;; then
    PROMPT_COMMAND='echo -ne &#34;\033]0;${HOSTNAME}: ${PWD}\007&#34;'
    PS1=&#34;[\e[1;33m\u::${HOSTNAME} \t\[\e[1;35m\e[0m\]]$ &#34;
fi
&#160;
alias ls='ls -G'
alias ll='ls -l'
alias la='ll -a'
alias env='env &#124; sort'
alias ..='cd ..'
alias :e=vim
alias grepr='grep -rHn'
# finds and removes the ._ files that textmate creates
alias findmatefiles='find . -name ._*'
alias rmmatefiles='find . -name ._* -exec [...]]]></description>
			<content:encoded><![CDATA[<p>.bash_profile, .profile, .bash_rc &#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$PS1</span>&quot;</span> <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #007800;">PROMPT_COMMAND</span>=<span style="color: #ff0000;">'echo -ne &quot;\033]0;${HOSTNAME}: ${PWD}\007&quot;'</span>
    <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;[\e[1;33m\u::<span style="color: #007800;">${HOSTNAME}</span> <span style="color: #000099; font-weight: bold;">\t</span>\[\e[1;35m\e[0m\]]$ &quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">ls</span></span>=<span style="color: #ff0000;">'ls -G'</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">ll</span>=<span style="color: #ff0000;">'ls -l'</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">la</span>=<span style="color: #ff0000;">'ll -a'</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">env</span></span>=<span style="color: #ff0000;">'env | sort'</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> ..=<span style="color: #ff0000;">'cd ..'</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> :<span style="color: #007800;">e</span>=<span style="color: #c20cb9; font-weight: bold;">vim</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">grepr</span>=<span style="color: #ff0000;">'grep -rHn'</span>
<span style="color: #666666; font-style: italic;"># finds and removes the ._ files that textmate creates</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">findmatefiles</span>=<span style="color: #ff0000;">'find . -name ._*'</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">rmmatefiles</span>=<span style="color: #ff0000;">'find . -name ._* -exec rm {} \;'</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">DEVROOT</span>=~<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">HISTFILE</span>=<span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>.bash_history
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">HISTSIZE</span>=<span style="color: #000000;">5000</span>
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PATH</span>=<span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>y<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>X11R6<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>y<span style="color: #000000; font-weight: bold;">/</span>sbin:<span style="color: #000000; font-weight: bold;">/</span>sbin:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>sbin:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>bin:.
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">GREP_OPTIONS</span>=<span style="color: #ff0000;">'--color=auto'</span>
&nbsp;
setenv <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span> <span style="color: #7a0874; font-weight: bold;">export</span> $<span style="color: #000000;">1</span>=<span style="color: #ff0000;">&quot;$2&quot;</span>; <span style="color: #7a0874; font-weight: bold;">&#125;</span>
unsetenv <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span> <span style="color: #7a0874; font-weight: bold;">unset</span> <span style="color: #007800;">$*</span>; <span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://psyjinx.com/jyoung/2010/02/my-bash_profile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
