summaryrefslogtreecommitdiff
path: root/dotfiles-darwin/zsh/rc
blob: bf2e952518f1ef73930c250ceffd7c8203a7a844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# -*- mode: shell-script -*-

autoload -Uz vault

alias df='df -Ph'
alias ls='ls -G'
alias lsh='du -a | sort -h'
alias pbclear='pbcopy </dev/null'
alias pip=pip3
alias python=python3
alias rsync='rsync --exclude=.DS_Store'

if (( ${path[(I)/usr/local/opt/coreutils/libexec/gnubin]} )); then
  alias ls='ls --color --group-directories-first'
  alias lsh='ls -Shrs'
fi