use ack intead of grep
add notes shortcut
define pager to LESS
use local vars in work to remove the necessity of unsetting the variables used
autocomplete work function