title: get open file whose name is same as directory in bash
body: <p>How can I achieve the following in bash? Open a *.cpp file whose name is the same as the current directory?
  I tried </p>
  
  <p>alias zv='
  myvar =$(basename PWD)
  vi $myvar .cpp
  '</p>
  
  <p>Thanks!</p>