Show HN: Empty Enter Expander – Type less in the terminal with this tool
Published on: 2025-08-07 11:09:47
Type less in the terminal with this tool
Empty Enter Expander inserts a command into the prompt with a few keystrokes.
It is currently written for the zsh . The bash version is not published yet.
Demo
Commands are stored in a module directory that contains files and folders with lowercase letters at the beginning of their names, which act as shortcuts.
The tool is activated by pressing Enter on an empty command.
After that, the following keys are pressed to activate the commands::
1 , 1 , 1 , Enter to change the directory to the project's folder
, , , to change the directory to the project's folder g , s , Enter to view the git status
, , to view the git status g , l , Enter to view the git log
Prepare your commands
Expander uses a directory where the commands are stored. It is called a module directory.
The module directory might be located in ~/Tools/expander-example-module .
Let's say you have a lengthy Git command. Prepare a script that will output it. Place the prepar
... Read full article.