nithir revised this gist . Go to revision
No changes
nithir revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
tree.sh
| @@ -1,3 +1,3 @@ | |||
| 1 | 1 | function tree { | |
| 2 | - | find . | sed 's/[^/]*\//| /g;s/| *\([^| ]\)/+--- \1/' | |
| 2 | + | find . | sed 's/[^/]*\//| /g;s/| *\([^| ]\)/+--- \1/' | |
| 3 | 3 | } | |
nithir revised this gist . Go to revision
1 file changed, 3 insertions
tree.sh(file created)
| @@ -0,0 +1,3 @@ | |||
| 1 | + | function tree { | |
| 2 | + | find . | sed 's/[^/]*\//| /g;s/| *\([^| ]\)/+--- \1/' | |
| 3 | + | } | |