add take function from ohmyzsh