add details

This commit is contained in:
Strix 2023-10-14 22:38:15 +02:00
parent d23ec4c9ba
commit 2ccb7476b6
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

5
dot
View file

@ -73,6 +73,11 @@ run_crate() {
done
}
echo "# details:"
echo "# user: $USER ($UID)"
echo "# groups: $(groups)"
echo "# distro: $(curr_distro)"
if [ $# -eq 2 ]; then
[ -d crates/*$1 ] || exit 1
cd crates/*$1