The custom terminal command I use the most

About a year or so now I have been using a terminal command that open's the input in my editor of choice.

That is PHPStorm as of this writing. This command truly helps me work more quickly because I consider myself to be a keyboard power user.

The command is simple:

op .

It looks rather 'OP' doesn't it? :P

In my Z shell (also known as zsh) config cat ~/.zshrc I've added the following alias:

alias op="open -a PhpStorm"

This creates an alias for the open command. Where the "first argument" is indicated by a . dot. In unix, this refers to the current directory.

So, I tell PHPStorm to open the current directory please thanks bye.

That's all, then! I hope that this will benefit you as well!