File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ alias xpython3.12="$(xbrew --prefix python@3.12)/bin/python3.12"
1515alias xpython3.11="$(xbrew --prefix python@3.11)/bin/python3.11"
1616alias xpython3.10="$(xbrew --prefix python@3.10)/bin/python3.10"
1717alias xpython3.9="$(xbrew --prefix python@3.9)/bin/python3.9"
18- alias xpython3.8="$(xbrew --prefix python@3.8)/bin/python3.8"
18+ alias xpython3.8="$(xbrew --prefix python@3.8)/bin/python3.8"
Original file line number Diff line number Diff line change @@ -121,6 +121,10 @@ function git-remove-deleted() {
121121 done
122122}
123123
124+ function git-tree() {
125+ tree -C -I $((cat .gitignore 2> /dev/null || cat $(git rev-parse --show-toplevel 2> /dev/null)/.gitignore 2> /dev/null || echo "node_modules") | egrep -v "^#.*$|^[[:space:]]*$" | tr "\\n" "|" | rev | cut -c 2- | rev)
126+ }
127+
124128# verbose `git status` alias
125129alias status="git status --verbose --ahead-behind --branch --find-renames"
126130
You can’t perform that action at this time.
0 commit comments