Make tilde expansion in command strings work even if it isn't terminated by /.