bash: Turn an alias into a function