Home›Java›Mods›Shell History
Shell History
ModsJava

Shell History

Java mod listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.

by umenan · on Modrinth

⬇ Download on Modrinth

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:

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:

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more