Add function dir to shell and move .sh in it.