>mkdir>have to cd into my madedir
mkcd
>>107820468>Sudo dnf KYS
>>107820468>post frog>be literal fucking retardplease just end yourself already
>make a house (or rather, hire a bunch of Mexicans to make one for me)>then I have to move into the houseWoah, shit's crazy
>>107820468>cdpushd seems better in that situaiton
>>107820468You don’t HAVE to cd anywhere
cd's nuts
The GNU coreutil developers should add a --change-to-new-directory option to mkdir with no short form.
>>107820550You can do it yourself. Unless you're a codelet
>>107820468dumb_frog() { mkdir $1 cd $1}alias mkdir="dumb_frog"
>>107820564I know C, but as a matter of honor I only write OCaml these days.
>>107820468yes, mkdir is short for make directory
this is literally why no one uses troonix
>>107820656Not true. Straight white men use Fedora + Gnome Trannies use Arch3rd browns every other distro NPC consoomers use Windows >>107820656
>>107820676>fedora>white menai jeet slop distro with NSA backdoor pre installed. you have a lot to learn.
>>107820686>NSA backdoor>Schizo off his meds again Every SingleTime Now tell us about the time the aliens took you shoved things up your ass and how you actually liked it
>>107820700i noticed you glossed over the jeet slop part.saar?
>>107820656windows has the same problem, both CLI and GUI, right click -> New -> New folderstill have to double click to open it
>>107820725Its fucking idiots like you that ruin this world for the rest of us.
>>107820746ctrl shift n
>>107820912the point of the thread isn't the process of making a folder, it is that going into the folder is always an extra step after making it, instead of it automatically opening
mkd() { mkdir $1 cd $1 ls -lhA}
>>107820468What if you need to mk more than one dir, dipshit?
Because chdir is a shell internal command whereas mkdir is a process executed on its own environment.
>>107821271ctrl + shift + n > namectrl + shift + n > namectrl + shift + n > namectrl + shift + n > nameBULK CREATE FOLDERS.EXEFULL RENAME FOLDERS.EXEMICROSOFT CERTIFIED
>>107820489bash peasants don't have autopushd.>>107821271It could just cd using gnu parallel
>>107820468>mkdir>it makes a dir>it doesn't open a browser>it doesn't call an AI>it doesn't re-organize your images>it just makes a dir like you told it toZoomies cannot cope with this and go insane "why it doesn't do 50 more things?"
>>107821250>ls in a newly created dirretard
>make directory command>it makes the directory>wtf why didn't it do <some shit nobody else assumed it would do>
>>107821250>_ mkd -p newdirmkdir: missing operandTry 'mkdir --help' for more information.
what do you mean i have to put gas in the car, shouldn't it just fuel itself when i turn the key.
>>107823313Linux car>the fuel pump is pedal powered. it's better like that because it's more efficient and also you get exercise.Apple car>yeah bro just turn the key and go, if you have problems go visit the Apple store and we'll fix everythingLinTODDLERS BTFO
>>107820468Is there a single OS that automatically moves you to a folder you have created?kys fag
>>107820581Is it that easy? How do I learn this power
>>107820475>make mkcd alias>remeber to use it>forget that you’re already in the new directory once you use it
>>107820468he doesn't .bat or .cmdNGMI
>>107823282just domkdir $@provlem solved!
mkdir $@
>>107823766add ls to the alias
>>107824599b-but what about the cd then!!!!easy:mkd() { mkdir $@ cd $_ ls -lhA}
mkd() { mkdir $@ cd $_ ls -lhA}
>>107820468yesbut you can do cd [alt] .
>>107820628Why isn't it just> md?
>>107820468>mkdir op-is-a-faggot && cd "$_"
>>107820468mkcd() { local dir="$1" if [ -z "$dir" ]; then printf 'Usage: mkcd <directory>\n' >&2 return 1 fi mkdir -p -- "$dir" && cd -- "$dir"}
mkcd() { local dir="$1" if [ -z "$dir" ]; then printf 'Usage: mkcd <directory>\n' >&2 return 1 fi mkdir -p -- "$dir" && cd -- "$dir"}
>>107820550You literally can't. Do you even know how cwd works? cd is a builtin for a reason.
>>107820581Unless you're using zsh, you should quote your args, also how do you pass args to mkdir?