1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2025-10-22 07:54:24 -04:00

make dir and cd to it in one command

This commit is contained in:
2018-10-25 16:04:40 -04:00
parent 1b169df2c5
commit 426ea90daf

View File

@@ -110,3 +110,8 @@ alias unq="sudo xattr -rd com.apple.quarantine"
docker-bash() {
docker exec -ti $1 /bin/bash
}
mkcdir() {
mkdir -p -- "$1" &&
cd -P -- "$1"
}