Adds mkcd <dir> — creates a directory (including all missing parents via mkdir -p) and immediately cds into it
Colorized feedback distinguishes between newly-created and pre-existing directories
Full -h/--help screen matching existing function conventions
README updated with entry in the Directory & File Listing table
Manual Verification
Run mkcd /tmp/test-mkcd/nested/deep — directory tree should be created and shell should land inside deep; feedback should read ✔ Created and entered /tmp/test-mkcd/nested/deep
Run mkcd /tmp (existing dir) — no mkdir error; feedback should read → /tmp already exists — entered
Run mkcd (no args) and mkcd --help — both should print the colorized help screen
Run mkcd /tmp/new-dir; git init — confirm the semicolon idiom works naturally after mkcd lands you in the new directory
Confirm rm -rf /tmp/test-mkcd cleans up and no side effects remain
## Summary
- Adds `mkcd <dir>` — creates a directory (including all missing parents via `mkdir -p`) and immediately `cd`s into it
- Colorized feedback distinguishes between newly-created and pre-existing directories
- Full `-h`/`--help` screen matching existing function conventions
- README updated with entry in the Directory & File Listing table
## Manual Verification
- [x] Run `mkcd /tmp/test-mkcd/nested/deep` — directory tree should be created and shell should land inside `deep`; feedback should read `✔ Created and entered /tmp/test-mkcd/nested/deep`
- [x] Run `mkcd /tmp` (existing dir) — no mkdir error; feedback should read `→ /tmp already exists — entered`
- [x] Run `mkcd` (no args) and `mkcd --help` — both should print the colorized help screen
- [x] Run `mkcd /tmp/new-dir; git init` — confirm the semicolon idiom works naturally after mkcd lands you in the new directory
- [x] Confirm `rm -rf /tmp/test-mkcd` cleans up and no side effects remain
Creates a directory (including all missing parents) and immediately
cd's into it. Supports -h/--help, distinguishes new vs existing dirs
in feedback, and uses set_color for consistent colored output.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
mkcd <dir>— creates a directory (including all missing parents viamkdir -p) and immediatelycds into it-h/--helpscreen matching existing function conventionsManual Verification
mkcd /tmp/test-mkcd/nested/deep— directory tree should be created and shell should land insidedeep; feedback should read✔ Created and entered /tmp/test-mkcd/nested/deepmkcd /tmp(existing dir) — no mkdir error; feedback should read→ /tmp already exists — enteredmkcd(no args) andmkcd --help— both should print the colorized help screenmkcd /tmp/new-dir; git init— confirm the semicolon idiom works naturally after mkcd lands you in the new directoryrm -rf /tmp/test-mkcdcleans up and no side effects remain