From c5da512815252368b129f4d3961c9952b8422bbd Mon Sep 17 00:00:00 2001 From: Riyyi Date: Fri, 15 Jan 2021 18:47:40 +0100 Subject: [PATCH] Add tree function --- .scripts/alias.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.scripts/alias.sh b/.scripts/alias.sh index 740c69f..5d4a73d 100755 --- a/.scripts/alias.sh +++ b/.scripts/alias.sh @@ -48,6 +48,10 @@ pastebin() { echo "$1" | curl -F 'f:1=<-' ix.io } +print_project() { + tree -f --noreport | egrep -ve "vendor(\/.*){2}" -ve "build(\/.*)" | sed -E 's%\./.*/%%g; s%\./%%g;' +} + raspbian() { sudo systemctl start avahi-daemon.service if ! ip a show usb0 | grep -q 'inet6'; then