Shell History Mod (26.3) – Search And Edit Past Chat Commands
Java mod listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.
⬇ DownloadShell History Mod brings terminal-style command history and line editing directly to Minecraft’s chat screen. It lets you search backward and forward through past commands after you type the first few letters, which saves time when you reuse long technical commands like /tp, /player, or /tick. This mod adds a full set of familiar Emacs and readline keyboard shortcuts for cursor movement, fast deletion, and circular history lookup, and keeps native Select All keys intact on your platform. It also expands both in-memory and saved command history to 1000 entries and automatically strips duplicate lines so only the newest copy stays saved. Everything runs strictly on your client, so commands stay unchanged and servers need no extra setup.
![]()
Features:
- Prefix-Based History Search: Filters your chat history by the exact starting text you typed, so typing
/tpand stepping backward cycles only through past/tpcommands instead of unrelated chat messages. - Circular History Wrap-Around: Loops cleanly from the oldest matching command back to the newest entry and vice versa when you step backward or forward through search results.
- 1000-Entry Expanded Buffer: Raises both your in-memory chat history and saved command history file to 1000 entries, far larger than vanilla Minecraft’s small default limit.
- Automatic Duplicate Cleanup: Removes duplicate history entries automatically while keeping only the newest occurrence so repeated commands never waste history slots.
- Normalizes existing duplicate entries inside Minecraft’s
command_history.txtfile automatically whenever the game starts up. - Preserves vanilla Select All behavior on platforms where Minecraft already binds Ctrl-A to Select All.
- Runs purely on the client side by improving only the chat input screen, leaving server commands untouched and needing no server-side setup.
Chat Keyboard Shortcuts:
- Up or Ctrl-P: Steps backward to the previous matching history entry for your typed prefix.
- Down or Ctrl-N: Steps forward to the next matching history entry for your typed prefix.
- Ctrl-B: Moves the text cursor backward along the chat line.
- Ctrl-F: Moves the text cursor forward along the chat line.
- Ctrl-E: Moves the text cursor straight to the end of the line.
- Ctrl-A (macOS only): Moves to the beginning of the line while Cmd-A stays mapped to Select All.
- Ctrl-K: Deletes all text from the cursor to the end of the line.
- Ctrl-U: Deletes all text from the cursor back to the beginning of the line.
- Ctrl-D: Deletes the single character directly after the cursor.
- Ctrl-H: Deletes the single character directly before the cursor.
How to Use:
- Open the Minecraft chat box and type the starting part of any command you used before, such as
/tp,/player, or/tick. - Press Up or Ctrl-P to step backward through past entries that begin with that exact prefix; unrelated chat lines are skipped automatically.
- Press Down or Ctrl-N to step forward in the opposite direction; reaching either end wraps circularly around the matching results.
- Move along the line with Ctrl-B (backward), Ctrl-F (forward), Ctrl-E (end of line), or Ctrl-A on macOS (beginning of line) to reach the exact spot you want to edit.
- Fix mistakes quickly with Ctrl-H to erase the character before the cursor, Ctrl-D to erase the character after it, Ctrl-K to cut to the end of the line, or Ctrl-U to cut back to the start of the line.
- Press Enter to send the edited command; this mod saves up to 1000 unique entries and removes older duplicates automatically, including normalizing existing duplicates in
command_history.txtwhenever you launch the game.
Shell History Mod Download Links
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 26.3
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: In MC Java Mods, or directly above on this page.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Downloads as 557972.mcaddon
- Download size: 10 KB
- Download link checked 27 Nov 2026 — working
- Mirrored on our own servers — the download does not depend on the original host
These come from our own check of the pack file, not from the source page.