Skip to content

Save a quick command

A quick command can run a command you often type or play back several steps in order. Try saving a command that prints the current directory.

  1. Open Settings → Quick commands and add a quick command.
  2. Name it Show directory and add a command step. Enter pwd for a POSIX shell or PowerShell. In Windows Command Prompt, enter cd.
  3. Leave Enter enabled so the shell runs the command. Save it.
  4. In a terminal tab, select Q in the footer and choose Show directory. The shell prints the working directory of that session.

To change what the button runs, right-click the quick command and choose Edit. See the quick commands guide for recording steps, assigning shortcuts, and organizing commands with labels.