updated bash with new functions and new syntax in vim