Skip to content

Commit

Permalink
feat: tree 别名支持制定目录参数
Browse files Browse the repository at this point in the history
  • Loading branch information
y4n9b0 committed Dec 26, 2024
1 parent 51b6830 commit fa14ddf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _posts/2019-06-18-dev-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fa14ddf

Please sign in to comment.