diff --git a/.config/.dg-shell.zsh b/.config/.dg-shell.zsh index c2f8718..3e60e06 100644 --- a/.config/.dg-shell.zsh +++ b/.config/.dg-shell.zsh @@ -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 +} \ No newline at end of file diff --git a/.config/VSCodium/User/snippets/python.json b/.config/VSCodium/User/snippets/python.json index 734a1a1..1960c7b 100644 --- a/.config/VSCodium/User/snippets/python.json +++ b/.config/VSCodium/User/snippets/python.json @@ -9,4 +9,4 @@ "\tmain()" ] } - } \ No newline at end of file +} \ No newline at end of file