A custom, lightweight Unix-like shell implemented in C. CzShell features built-in command handling, relative path tracking, and a clean ANSI-powered interface.
- Built-in Commands:
cd,ls,pwd,echo,cat,touch,clear, andexit. - Smart Pathing: Automatically calculates and displays relative paths from the starting directory.
- Visual Feedback: Color-coded prompts (Green for success, Red for failure).
- Graceful Exit: A countdown timer with ANSI escape sequences before the shell closes.
- Dynamic Memory: Handles long input strings and argument lists via realloc.
Use gcc to compile the shell:
gcc -o czshell main.c
./czshell