From f1d3875d9a76cc9ebdaeecaf166c268b68cb9226 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Thu, 22 May 2014 19:18:14 -0700 Subject: [PATCH] [zsh] Add ldd=otool -L alias to rc.darwin --- rc | 3 +-- rc.darwin | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rc b/rc index 38a6dcf..0dbb722 100644 --- a/rc +++ b/rc @@ -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 diff --git a/rc.darwin b/rc.darwin index 59824ba..eacfe25 100644 --- a/rc.darwin +++ b/rc.darwin @@ -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'