gavanwanggw

导航

mac自己定义tree命令

编辑文件:

vim ~/.bash_profile


在文件末尾追加:

alias tree="find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'"


应用配置:

source ~/.bash_profile

posted on 2017-06-08 14:15  gavanwanggw  阅读(97)  评论(0编辑  收藏  举报