Useful zsh functions
Just some useful terminal commands I’ve made over time Maybe they can help someone else? mkcd How often do you do this? 1 2 mkdir <folder_name> cd <folder_name> Usage 1 mkcd <folder_name> Why don’t we make it just a little bit easier? 1 2 3 4 5 function mkcd() { readonly folder=${1:?You must provide a directory name} mkdir -p "${folder}" cd "${folder}" } to (and more) I create a lot of files from the terminal, but then use an IDE for code editing (I know, I’ll learn Vim eventually)....