Add mkcd function from omz

This commit is contained in:
David Morgan 2023-03-20 15:50:22 +00:00
parent 8fe4052f5a
commit 1e46e31b95
Signed by: djm
GPG Key ID: C171251002C200F2
1 changed files with 5 additions and 0 deletions

View File

@ -185,6 +185,11 @@ in
cd "$DIR" cd "$DIR"
} }
# From omz
function mkcd () {
mkdir -p $@ && cd ''${@:$#}
}
tre () { command tre "$@" -e && source "/tmp/tre_aliases_$USER" 2>/dev/null; } tre () { command tre "$@" -e && source "/tmp/tre_aliases_$USER" 2>/dev/null; }
function gcd () { function gcd () {