▲ | akdor1154 3 days ago | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
What i really want is a `mkdir --cd` - annoying to code without shadowing real mkdir though. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
▲ | linsomniac 3 days ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I have a shell function "md" that does a "mkdir -p" and then cds into it. In fish:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
▲ | quesera 3 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This works in sh, bash, zsh, etc:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
▲ | ramon156 3 days ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
it's weird how most IDE's already figured out people want this. I can type in "New File" > "/foo/bar/baz" and it will work just fine. Is there any limitation as to why mkdir can't support recursive generation? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|