title: Bash: making my own shell
body: <p>I am making a shell that resembles Command Prompt (it is not finished) but it doesn't work. Here it is:</p>
  
  <pre><code>#!/bin/bash
  VER=$(lsb_release -sr)
  OS=$(lsb_release -si)
  echo "Linux [Distro $OS Version $VER]"
  echo "&lt;c&gt; None"
  echo -n "${PWD}&gt;"
  read $cmd
  eval $cmd
  </code></pre>
  
  <p>I am running on Crunchbang.
  When I run it:</p>
  
  <pre><code>crunchbang@crunchbang:~$ ./cmd.sh
  Linux [Distro Debian Version 7.0]
  /home/crunchbang&gt;echo "abc"    
  crunchbang@crunchbang:~$ 
  </code></pre>
  
  <p>What it should be:</p>
  
  <pre><code>crunchbang@crunchbang:~$ ./cmd.sh
  Linux [Distro Debian Version 7.0]
  /home/crunchbang&gt;echo "abc"
  abc
  crunchbang@crunchbang:~$
  </code></pre>
  
  <p>Even better:</p>
  
  <pre><code>crunchbang@crunchbang:~$ ./cmd.sh
  Linux [Distro Crunchbang Version 11]
  /home/crunchbang&gt;echo "abc"
  abc
  crunchbang@crunchbang:~$
  </code></pre>