MythSh (Mythical Shell) is a lightweight, customizable shell written in C — built to be fast, beautiful, and hackable. It brings a modern Powerlevel10k-inspired aesthetic, with colorful prompt segments, Nerd Font icons, and a modular configuration system.
- 🧠 Command Execution — Run system commands seamlessly
- 🕘 Command History — Navigate previous commands using ↑ / ↓
- 💾 Persistent History File — Commands are saved between sessions
- 🎨 Powerlevel10k-Style Prompt — Colored segments & icons
- 🔍 Git Integration — Shows current branch in prompt
- ⚙️ Configurable via
.mythrc— Customize colors, symbols, and username display - 🧩 Nerd Font Icons — Folder, git branch, clock, etc.
- 🚀 Lightweight & Fast — Pure C, zero external dependencies
MythSH starts in just ~15ms — faster than most shells. Built in C with zero dependencies, it’s designed to be minimal, efficient, and responsive. Perfect for developers who value speed and simplicity.
$ (echo exit | ./mythsh)
0.01s user 0.01s system 102% cpu 0.015 totalYou can install MythSH with a single command using curl:
curl -fsSL https://raw.githubusercontent.com/adityapaul26/mythsh/main/install.sh | bashThis script will:
- 🧩 Check and install required dependencies (
git,gcc,make) - 📦 Clone the MythSH repository
- ⚙️ Build and install the binary to
~/.local/bin/mythsh - 🛠️ Add
~/.local/binto yourPATHif not already added - ✅ Print a success message once installation completes
After installation, restart your terminal or run:
source ~/.bashrcThen launch MythSH using:
mythshIf you prefer to install manually:
git clone https://github.com/adityapaul26/mythsh.git
cd mythsh
make
cp mythsh ~/.local/bin/Make sure ~/.local/bin is in your PATH.
To remove MythSH, simply delete the installed binary:
rm -f ~/.local/bin/mythshIf you used the install script, you can also uninstall via:
curl -fsSL https://raw.githubusercontent.com/adityapaul26/mythsh/main/uninstall.sh | bashThis will:
- 🗑️ Remove the MythSH binary from your system
- 🧽 Clean up any added PATH entries (if applicable)
- ✅ Confirm successful uninstallation
which mythshIf it prints nothing (no path), MythSH is fully removed.
git clone https://github.com/adityapaul26/mythSh.git
cd mythshmakeOr manually compile:
gcc mythsh.c -o mythsh
./mythshIf you want to use MythSh globally:
sudo cp mythsh /usr/local/bin/mythshThen launch it anytime:
mythshYou can edit the .mythrc file to personalize your shell prompt.
Example:
# .mythrc
setprompt ╭─%u%h%d%g\n╰─>
# powerlevel10k-like -> graphic
# minimalist -> mini
# uncomment the one u want to use
# theme graphic
theme mini
Reload MythSh to apply changes:
source ~/.mythrcTo get those beautiful icons and separators — you need a Nerd Font installed and enabled in your terminal.
-
Download any patched font. Recommended:
- FiraCode Nerd Font
- JetBrainsMono Nerd Font
- Hack Nerd Font
-
Install the font on your system:
- Linux: extract and move to
~/.local/share/fonts, then runfc-cache -fv - Windows: right-click → Install for all users
- macOS: double-click → Install Font
- Linux: extract and move to
-
In your terminal emulator (GNOME Terminal, Kitty, Alacritty, etc.):
- Open Preferences → Profile → Font
- Select your installed Nerd Font
-
Restart your terminal and run:
./mythsh
| Key | Action |
|---|---|
| ↑ / ↓ | Navigate command history |
| Ctrl + L | Clear screen |
| Ctrl + D | Exit MythSh |
help |
List built-in commands |
config |
Reload configuration |
mythsh/
├── .cache
└── clangd
│ └── index
│ ├── mythSh.c.8D4BCDB00853A1C0.idx
│ ├── todo.c.9B6FE5940C9F1FA6.idx
│ └── todo.h.2036C4F9694109AD.idx
├── .gitignore
├── .mythsh_history
├── Makefile
├── README.md
├── compile_commands.json
├── mythsh
└── src
├── mythSh.c
├── todo.c
└── todo.h
Pull requests are welcome! If you’d like to add new prompt themes, icons, or internal commands:
- Fork the repo
- Create your branch (
git checkout -b feature-amazing) - Commit changes (
git commit -m "Add cool prompt feature") - Push to branch (
git push origin feature-amazing) - Open a PR 🚀
MIT License © 2025 adityapaul26
Feel free to use, modify, and share — with attribution.

