title: Is there a way to get bash to let me move up directories by choosing highlighted directories in my prompt?
body: <p>I think using <code>cd ../..</code> to move up two directories is silly, so I was wondering if it's possible to configure bash to have an "up" command that lets me pick out which directory to move up to by using my arrow keys to select which directory in my prompt to move to.
  Like this:</p>
  
  <pre><code>0: noah@noah-desktop: /home/noah/$ up</code></pre>
  
  <p>and then it would display this if I hit the left arrow key:</p>
  
  <pre><code>0: noah@noah-desktop: /home/<b>noah</b>/$</code></pre>
  
  <p>And this if I hit the left arrow key again:</p>
  
  <pre><code>0: noah@noah-desktop: /<b>home</b>/noah/$</code></pre>
  
  <p>And then when I hit enter it moves to that directory.
  Is there a way to get it to do that? I can't seem to find any info on how to do this.</p>