Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
Shell History
Shell History brings shell-like command history and line editing to Minecraft's chat screen.
It is designed for players who frequently reuse commands and want faster keyboard-driven navigation, especially when working with long /tp, /player, /tick, or other technical commands.
Features
Prefix-based history search
Type the beginning of a command and press Up or Ctrl-P to search backward through commands that start with that prefix.
For example:
/tp
then:
Ctrl-P
will cycle through previous /tp ... commands instead of unrelated chat history.
Use Down or Ctrl-N to search in the opposite direction. Matching history entries wrap around circularly.
Shell-style editing
Shell History adds several familiar Emacs/readline-style shortcuts to Minecraft's chat input:
Ctrl-B— move cursor backwardCtrl-F— move cursor forwardCtrl-E— move to end of lineCtrl-K— delete from cursor to end of lineCtrl-U— delete from cursor to beginning of lineCtrl-D— delete the character after the cursorCtrl-H— delete the character before the cursorCtrl-P— previous matching history entryCtrl-N— next matching history entry
On macOS, Ctrl-A moves to the beginning of the line while Cmd-A remains Select All. On platforms where Minecraft already uses Ctrl-A for Select All, Shell History preserves the vanilla shortcut.
Better command history
Minecraft normally keeps relatively small command-history buffers. Shell History expands both the in-memory and persisted command history to 1000 entries.
Duplicate history entries are automatically removed while keeping the newest occurrence, so repeated commands do not waste history space.
Existing duplicate entries in Minecraft's command_history.txt are also normalized when the game starts.
Scope
Shell History is a client-side Fabric mod. It only changes how the Minecraft chat screen handles text editing and command history; it does not modify commands themselves or require server-side installation.
Currently supported:
- Minecraft 26.2
- Fabric Loader
- Client-side only


