A lightweight, Hatsune Miku-themed shell for UNIX-like systems.
- Colorful prompt with home directory
- Built-in commands:
cd,help,exit,echo,hi,mikumode - Command history and tab completions support using GNU Readline
- Commands piping with
| - Random Miku quotes (togglable with
mikumode) - Proper handling of quoted arguments
- Install the required dependencies:
# Debian/Ubuntu
sudo apt-get install build-essential libreadline-dev
# Fedora/RHEL
sudo dnf install gcc readline-devel
# Arch Linux
sudo pacman -S gcc readline- Clone the repository:
git clone https://github.com/nomander17/miku-shell.git msh
cd msh- Compile the shell:
makeRun the shell:
./mshcd [directory]: Change directoryhelp: Display help informationexit: Exit the shellecho [-n] [text]: Display text (-n suppresses newline)hi: Get a greeting from Mikumikumode: Toggle Miku quotes on/off
Command history is saved to ~/.msh_history and is loaded when the shell starts.
This project is licensed under the GPLv3.
- Hatsune Miku~
- Stephen Brennan's tutorial - Write a Shell in C, which served as the base of the project. This project builds upon it, adding new builtins, Miku-theme, command history, etc.