Adjusts project management for para

This commit is contained in:
Jonathan Hodgson 2024-09-23 09:56:02 +01:00
parent 8e9073bd2d
commit 01371ba3b6
4 changed files with 12 additions and 4 deletions

View file

@ -10,7 +10,10 @@ function list_projects(){
fi
echo "--new"
fi
find "$PROJECTS_PATH/" -maxdepth 1 -mindepth 1 -type d | xargs -L 1 basename
find "$PROJECTS_PATH/" -maxdepth 2 -mindepth 2 -type d | while read line; do
echo "$line" | tr '/' '\n' | tac | head -n 2 | tac | tr '\n' '/'
echo
done
}
function print_help(){