summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
authorTyler Davis <tyler@gluecode.net>2024-05-17 04:24:59 +0000
committerTyler Davis <tyler@gluecode.net>2024-05-17 04:24:59 +0000
commitf3909ce8d41bded61e2de495548daf3118db6ece (patch)
treedd1b38e7afd10d49f09f7ebea3ab4d5c8e6990e0 /.profile
parentafbee4ebc5143430d5c14f91f4e063e383307a7a (diff)
downloaddotfiles-f3909ce8d41bded61e2de495548daf3118db6ece.tar.gz
dotfiles-f3909ce8d41bded61e2de495548daf3118db6ece.zip
sh: more bsd specifics
Diffstat (limited to '.profile')
-rw-r--r--.profile3
1 files changed, 2 insertions, 1 deletions
diff --git a/.profile b/.profile
index f8bc43f..6b5daee 100644
--- a/.profile
+++ b/.profile
@@ -43,10 +43,12 @@ Darwin)
alias unlock='security unlock-keychain ~/Library/Keychains/login.keychain'
alias ls='/bin/ls -F -h -A -D "%F %H:%M:%S"'
alias ll='/bin/ls -F -h -A -D "%F %H:%M:%S" -l'
+ alias dua='du -h -d 1 | sort -h'
;;
Linux)
alias ls="/bin/ls --color=never -F -h -A "
alias ll="/bin/ls --color=never -F -h -A -l"
+ alias dua='du -h -d 1 | sort -h'
;;
*BSD)
export PAGER=less
@@ -96,7 +98,6 @@ fi
export LESS=FRX
# Defaults
-alias dua='du -h -d 1 | sort -h'
alias upcode="find $HOME/.code -name \".git\" -exec fetchgit {} \;"
alias gc_all="find $HOME/.code -name \".git\" | xargs -I {} -n 1 bash -c \"cd {}; echo {}; git gc --aggressive;\" "