bash: improved "gr" alias to function