From 15fc6112fc09d73252c30bf5b7d9604a7c1a4556 Mon Sep 17 00:00:00 2001
From: kpetersn <kmpeters@anl.gov>
Date: Mon, 27 Feb 2023 19:33:25 +0000
Subject: [PATCH] Added a workaround for a missing tree command.

---
 1-Setup.md | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/1-Setup.md b/1-Setup.md
index 9aa49a8..599af8f 100644
--- a/1-Setup.md
+++ b/1-Setup.md
@@ -111,4 +111,27 @@ $ tree ${EPICS_DIR}
 ```
 </details>
 
+If the **tree** command doesn't exist, there is a workaround:
+<details>
+<summary>workaround</summary>
+
+The **find** command can be used to show all directories inside a specific directory. 
+
+bash
+```bash
+$ tree() { find $1 -type d | grep -v git; }
+```
+
+tcsh
+```csh
+$ alias tree "find \!* -type d | grep -v git"
+```
+
+Once the bash function or tcsh alias is defined, the tree command can be rerun:
+```bash
+$ tree ${EPICS_DIR}
+```
+
+</details>
+
 ## [2 Deploy a new IOC](2-IOC-deployment.md)
-- 
GitLab