Fix prepare script

* Fix syntax for conditionals
* Fix function return statement
* mkdir ~/.i3