Skip to content

Instantly share code, notes, and snippets.

@kowalski7cc
Created January 24, 2024 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kowalski7cc/56ae678186a4a81a343358a5c20c72de to your computer and use it in GitHub Desktop.
Save kowalski7cc/56ae678186a4a81a343358a5c20c72de to your computer and use it in GitHub Desktop.
Make CD
function mkcd -a dirname
if test -z $dirname
echo "Usage: mkcd dirname"
return 1
end
mkdir -p "$dirname"
cd "$dirname"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment