I've probably tooted about this before, but I don't know why this isn't standard.

It's just so obvious, at least to me. ;)

~ $ type mcd mcd is a function mcd () { [[ -n $1 ]] && mkdir "$1" && cd "$1" }

#shell #UnixShell #ShellScripting #sh #bash #ksh #mksh

@rl_dane I also have something like this called "mkdircd" 

More gems I use a lot:
- wping()='curl -Lv "$1"' > /dev/null'
- dctl='systemctl'
- dctlu='systemctl --user' (yes I run some of my own background services + regular miantenance on systemd, bring in the pitchforks )

@Parnikkapore

Ooo, I like wping!

@rl_dane @Parnikkapore

about curl, have you seen
https://hurl.dev ?

Hurl - Run and Test HTTP Requests

Hurl, run and test HTTP requests with plain text and curl. Hurl can run fast automated integration tests.

@hyde @Parnikkapore

Looks interesting, although I must admit I'm kind of a dinosaur when it comes to web stuff, and didn't quite understand it.

That's why you'll see me doing silly stuff like web scraping using sed. XD

@rl_dane @hyde *hides in current pet project doing web scraping with XPath in Racket, despite the XML fad happening before I was born*