From fa14ddf99f38782777cfe5d24732fb19796e3309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B5=87=E1=B5=92?= <40080007@qq.com> Date: Thu, 26 Dec 2024 15:05:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20tree=20=E5=88=AB=E5=90=8D=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=88=B6=E5=AE=9A=E7=9B=AE=E5=BD=95=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _posts/2019-06-18-dev-config.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_posts/2019-06-18-dev-config.md b/_posts/2019-06-18-dev-config.md index 3101ac9..8e14226 100644 --- a/_posts/2019-06-18-dev-config.md +++ b/_posts/2019-06-18-dev-config.md @@ -115,7 +115,7 @@ published: true ```bash # tree - alias tree="find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'" + alias tree='function _(){ find ${1:-.} -print | sed -e "s;[^/]*/;|____;g;s;____|; |;g" };_' # Android Studio ANDROID_STUDIO=/Applications/Android\ Studio.app/Contents @@ -170,6 +170,8 @@ published: true . ~/.bash_profile; fi + alias tree='function _(){ find ${1:-.} -print | sed -e "s;[^/]*/;|____;g;s;____|; |;g" };_' + # Android Studio ANDROID_STUDIO=/Applications/Android\ Studio.app/Contents export PATH=$PATH:$ANDROID_STUDIO/MacOS:$ANDROID_STUDIO/bin