Add miscellaneous functions

From <https://github.com/l0b0/tilde/blob/456ad3f70938cecadd7766648d70cb9e684f8b6d/.bash_aliases>.