bash: Improve `el` function