Replace an echo with a redirect
remove mktemp dependency

Closes #103
Merge branch 'master' into prompt_command_append

Conflicts:
	z.sh