I currently have a zsh alias setup like so.
This lets me
e somedir to open up a directory in SublimeText. or
e . to open up the current directory.
However, I would like to be able set
. to be the default argument, or I can optionally pass in another directory.
e should expand to
e somedir should expand to
How exactly does one set this up? Is an alias even what I need here?