Last active
July 9, 2018 13:43
-
-
Save CptSpaceToaster/31e448452341d7effad5d04a67c50239 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function wrap_tree() | |
{ | |
if [[ -f /tmp/tree ]]; then | |
$(which tree) $* | |
else | |
touch /tmp/tree | |
cat <<EOF | |
* * | |
* * * | |
* * * * * | |
* * * * * | |
* * * * * * | |
* * * * * .# * * | |
* * * #. .# * * | |
* "#. #: #" * * * | |
* * * "#. ##" * | |
* "### | |
"## | |
##. | |
.##: | |
:### | |
;### | |
,####. | |
/\\/\\/\\/\\/\\/.######.\\/\\/\\/\\/\\/\\ | |
EOF | |
fi | |
} | |
alias tree='wrap_tree' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment