cut lines in function.sh to remote all the unneeded spaces
added ssh autocompletion feature