From a036ae37404adf0332cd710148ef44ab42c4eb7e Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Wed, 14 Apr 2021 15:33:11 +0200 Subject: [PATCH] Add mg shell command Creates a new directory and goes there --- shell/alias | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell/alias b/shell/alias index 629bf98..5c914da 100644 --- a/shell/alias +++ b/shell/alias @@ -28,3 +28,7 @@ alias u='unicode' alias hlcat='highlight -O xterm256' alias please='sudo' alias ofw='on_file_write' +mg() { + mkdir -p "$@" + source cd-improved "$1" +}