New aliases for writing/reading bash hist file

Fixed 'edfunc' to allow creating new functions, and to only use "type" once