<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Bash on php-tips.com</title>
    <link>https://php-tips.com/tags/bash/</link>
    <description>Recent content in Bash on php-tips.com</description>
    <generator>Hugo</generator>
    <language>ja</language>
    <lastBuildDate>Fri, 17 Dec 2010 09:00:37 +0900</lastBuildDate>
    <atom:link href="https://php-tips.com/tags/bash/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>BakerがCakePHPのために.bashrcに設定すべき5行 (CakePHP Advent Calendar 2010 17日目)</title>
      <link>https://php-tips.com/2010/12/17/cakephp-advent-calendar-2010-17/</link>
      <pubDate>Fri, 17 Dec 2010 09:00:37 +0900</pubDate>
      <guid>https://php-tips.com/2010/12/17/cakephp-advent-calendar-2010-17/</guid>
      <description>&lt;p&gt;こんにちは、nojimageです。&lt;a href=&#34;https://gist.github.com/743016&#34;&gt;aerithさん&lt;/a&gt;からバトンを受けての CakePHP Advent Calendar 2010 17日目です。今日もユルユルな感じでいきましょう。はい。
今日のtipsは、Linux/Macを開発環境で使っている方向けのシェル環境設定のお話です。
（Windowsの人はゴメンナサイ。&lt;/p&gt;
&lt;pre class=&#34;brush: bash&#34;&gt;
CAKE_CONSOLE=/path_to_cakephp_root/cake/console
PATH=$CAKE_CONSOLE:$PATH
alias cake=&#39;cake/console/cake&#39;
alias bake=&#39;cake bake&#39;
alias cake-cc=&#34;find ./app/tmp/cache -type f -name &#39;cake_*&#39; -exec rm {} \;&#34;
&lt;/pre&gt;
&lt;p&gt;Bakerなら上記の5行をbashへ設定しておくと、作業がちょっぴり楽になります。
さっそくユーザホームにある .bashrc へ追記してみましょう。&lt;/p&gt;
&lt;pre class=&#34;brush: bash&#34;&gt;
vim ~/.bashrc
&lt;/pre&gt;
&lt;p&gt;.bashrcを編集したら、&lt;/p&gt;
&lt;pre class=&#34;brush: bash&#34;&gt;
source ~/.bashrc
&lt;/pre&gt;
&lt;p&gt;として設定を反映するのを忘れずに。&lt;/p&gt;
&lt;p&gt;それでは、それぞれの行の意味について簡単に解説します。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
