bin/mytree: ignore multiple patterns with `tree -I 'a|b|c'`
1 files changed, 2 insertions(+), 1 deletions(-)

M bin/mytree
M bin/mytree +2 -1
@@ 1,3 1,4 @@ 
 #!/bin/sh
 
-tree -I '*.egg-info' -I '*.pyc' -I '__pycache__' "$@"
+# Like tree, but auto-ignore junk files.
+tree -I '*.egg-info|*.pyc|__pycache__' "$@"