You probably have a lot of apps and documents on your Mac, but access a few very frequently. This little terminal command adds a useful, but hidden, feature: a one-click menu to access your recent apps and documents right from your dock.

I’m personally way too lazy to use this menu, so if you’re like me, and want to see these lists with a single click, here’s how to add them to your dock.

Step One: Add the Feature With Terminal

To get started, press Command+Space and type “terminal” to open the Terminal. You can also open a Finder window and head to Applications > Utilities > Terminal. Once you’ve got the Terminal open, you can past this command and hit Enter: