[zsh] Add ldd=otool -L alias to rc.darwin

This commit is contained in:
Eryn Wells 2014-05-22 19:18:14 -07:00
parent ad7cd6044b
commit f1d3875d9a
2 changed files with 4 additions and 2 deletions

3
rc
View file

@ -84,9 +84,8 @@ binary_exists nethack && export NETHACKOPTIONS="color"
[[ -e "$HOME/Documents/Financial/personal.ledger" ]] && \
LEDGER_FILE=$HOME/Documents/Financial/personal.ledger
if [[ -e "$HOME/.rc.$SYS" ]]; then
print_info -l 2 "Sourcing interactive shell setup for $SYS systems"
print_info -l 2 "Sourcing $SYS interactive shell setup"
source "$HOME/.rc.$SYS"
fi

View file

@ -14,3 +14,6 @@ binary_exists gnuindent && alias indent='gnuindent'
if binary_exists gls; then
configure_ls `which gls`
fi
# ldd doesn't exist on OS X, but otool -L does the same thing.
alias ldd='otool -L'