random little functions for use with the fish shell