diff --git a/home/bin/executable_nb b/home/bin/executable_nb index 5fcfbce..8c05271 100644 --- a/home/bin/executable_nb +++ b/home/bin/executable_nb @@ -16,6 +16,7 @@ nb - Notebook management tool Usage: nb Commands: + cd Change directories save Commit changes with timestamp sync Save, fetch, and push changes log Show commit log @@ -26,6 +27,9 @@ EOF } case "$1" in + cd) + exec "$SHELL" + ;; save) jj diff -r @ --summary | grep -q . && jj commit -m "$(date +"%Y-%m-%dT%H:%M:%S%z")" && jj tug || true ;;