(add): mkcd function

This commit is contained in:
2025-10-28 22:43:26 -04:00
parent def155602a
commit f4c3dc7bbb
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -32,3 +32,12 @@ function cv() {
source ~/python-venv/default/bin/activate
fi
}
function mkcd() {
if [ ! -d $1 ]; then
mkdir -p $1
fi
if [ -d $1 ]; then
cd $1
fi
}