mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
chore(shell): add custom command-path helper
This commit is contained in:
@@ -10,7 +10,7 @@ git-largest-objects() {
|
||||
sed -n 's/^blob //p' |
|
||||
sort --numeric-sort --key=2 |
|
||||
cut -c 1-12,41- |
|
||||
$(command -v gnumfmt || echo numfmt) \
|
||||
$(command-path gnumfmt || echo numfmt) \
|
||||
--field=2 \
|
||||
--to=iec-i \
|
||||
--suffix=B \
|
||||
|
||||
Reference in New Issue
Block a user