💾 Archived View for idiomdrottning.org › mvd captured on 2024-12-17 at 12:07:48. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
I have gotten so much mileage out of these three zsh functions for making directories for over a decade, I should’ve posted them a long time ago but I just didn’t think to.
md () { mkdir -p $1 cd $1 } mvd () { mkdir -p "${@[$#]}" mv "$@" cd "${@[$#]}" } cpd () { mkdir -p "${@[$#]}" cp -r "$@" cd "${@[$#]}" }