I have the following set in bash:
 export chain_dir='~/.eris/chains/simplechain'
This works
 echo $chain_dir
 ~/.eris/chains/simplechain
Then try I try to use it with ls and I get:
 ls $chain_dir
 ls: cannot access ~/.eris/chains/simplechain: No such file or directory
But cut and paste the same directory string as in $chain_dir and it works:
 ~/.eris/chains/simplechain
 accounts.csv  addresses.csv  simplechain_full_000  simplechain_root_000 
I believe that I am missing something: