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.
- Open Settings → Quick commands and add a quick command.
- Name it Show directory and add a command step. Enter
pwdfor a POSIX shell or PowerShell. In Windows Command Prompt, entercd. - Leave Enter enabled so the shell runs the command. Save it.
- 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.
