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 阅读(98) 评论(0) 编辑 收藏 举报
编辑文件:
vim ~/.bash_profile
在文件末尾追加:
alias tree="find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'"
应用配置:
source ~/.bash_profile
posted on 2017-06-08 14:15 gavanwanggw 阅读(98) 评论(0) 编辑 收藏 举报