commit c69f0537612e4418f5ee0edd0755d19c4d58ef57
parent 2e74aecb847e36032aaa70185811140a6637c978
Author: Dash Eclipse <dashezup@disroot.org>
Date: Tue, 22 Mar 2022 12:29:14 +0000
refactor: gtree() -> git tree
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/.gitconfig b/.gitconfig
@@ -22,3 +22,4 @@
stats = !git diff --stat \"$(git hash-object -t tree /dev/null)\"
changelog = !git --no-pager log --oneline --pretty=\"%cs %s\" -n5
contrib = !git shortlog -sne
+ tree = !git ls-files $1 | tree --fromfile
diff --git a/.zshrc.local b/.zshrc.local
@@ -227,8 +227,6 @@ day_of_week() {
calculator() { while true; do bc <<<"scale=3; $(read -e)"; done }
-gtree() { git ls-files $1 | tree --fromfile }
-
slugify() {
# https://github.com/Mayeu/slugify/blob/master/slugify#L24
if [ "$1" = "-h" ]; then