Comment by ladybanshee 25 days ago Could you explain the purpose of mkcd? 8 comments ladybanshee Reply antomal 25 days ago It’s a shortcutIts purpose is to combine mkdir -p and cd into a single atomic-like action. Instead of typing: mkdir -p my_project && cd my_projectYou simply run: mkcd my_projectIt's designed to reduce friction during development, especially when you're frequently creating new nested directory structures. az09mugen 25 days ago Not the author, but my first guess is to create a folder and cd into it with just one command instead of 2 with the said argument, isn't it ? antomal 25 days ago Exactly. It's a small quality-of-life feature to avoid the repetitive mkdir && cd sequence. In GRSH, it also ensures the directory is created with the necessary permissions before the shell attempts to switch into it. az09mugen 25 days ago I love the concept, very good yet simple idea ! I'll steal it for my aliases. 1 reply → danabowler 23 days ago Is it not possible to realize it with alias? 1 reply →
antomal 25 days ago It’s a shortcutIts purpose is to combine mkdir -p and cd into a single atomic-like action. Instead of typing: mkdir -p my_project && cd my_projectYou simply run: mkcd my_projectIt's designed to reduce friction during development, especially when you're frequently creating new nested directory structures.
az09mugen 25 days ago Not the author, but my first guess is to create a folder and cd into it with just one command instead of 2 with the said argument, isn't it ? antomal 25 days ago Exactly. It's a small quality-of-life feature to avoid the repetitive mkdir && cd sequence. In GRSH, it also ensures the directory is created with the necessary permissions before the shell attempts to switch into it. az09mugen 25 days ago I love the concept, very good yet simple idea ! I'll steal it for my aliases. 1 reply → danabowler 23 days ago Is it not possible to realize it with alias? 1 reply →
antomal 25 days ago Exactly. It's a small quality-of-life feature to avoid the repetitive mkdir && cd sequence. In GRSH, it also ensures the directory is created with the necessary permissions before the shell attempts to switch into it. az09mugen 25 days ago I love the concept, very good yet simple idea ! I'll steal it for my aliases. 1 reply → danabowler 23 days ago Is it not possible to realize it with alias? 1 reply →
az09mugen 25 days ago I love the concept, very good yet simple idea ! I'll steal it for my aliases. 1 reply →
It’s a shortcut
Its purpose is to combine mkdir -p and cd into a single atomic-like action. Instead of typing: mkdir -p my_project && cd my_project
You simply run: mkcd my_project
It's designed to reduce friction during development, especially when you're frequently creating new nested directory structures.
Not the author, but my first guess is to create a folder and cd into it with just one command instead of 2 with the said argument, isn't it ?
Exactly. It's a small quality-of-life feature to avoid the repetitive mkdir && cd sequence. In GRSH, it also ensures the directory is created with the necessary permissions before the shell attempts to switch into it.
I love the concept, very good yet simple idea ! I'll steal it for my aliases.
1 reply →
Is it not possible to realize it with alias?
1 reply →