Add tree function

This commit is contained in:
Riyyi
2021-01-15 18:47:40 +01:00
parent 0bbd9b2e44
commit c5da512815
+4
View File
@@ -48,6 +48,10 @@ pastebin() {
echo "$1" | curl -F 'f:1=<-' ix.io 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() { raspbian() {
sudo systemctl start avahi-daemon.service sudo systemctl start avahi-daemon.service
if ! ip a show usb0 | grep -q 'inet6'; then if ! ip a show usb0 | grep -q 'inet6'; then