mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-06-29 04:00:42 +00:00
Update some config files
This commit is contained in:
parent
835ffa3427
commit
b449bcaaf1
3 changed files with 23 additions and 6 deletions
|
@ -20,6 +20,11 @@ function o() {
|
|||
fi;
|
||||
}
|
||||
|
||||
# Use bat for nicer git diffs
|
||||
function batdiff() {
|
||||
git diff --name-only --diff-filter=d | xargs bat --diff
|
||||
}
|
||||
|
||||
# Determine size of a file or total size of a directory
|
||||
function dir-size() {
|
||||
if du -b /dev/null > /dev/null 2>&1; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue