[zsh] Add ldd=otool -L alias to rc.darwin
This commit is contained in:
parent
ad7cd6044b
commit
f1d3875d9a
2 changed files with 4 additions and 2 deletions
3
rc
3
rc
|
@ -84,9 +84,8 @@ binary_exists nethack && export NETHACKOPTIONS="color"
|
||||||
[[ -e "$HOME/Documents/Financial/personal.ledger" ]] && \
|
[[ -e "$HOME/Documents/Financial/personal.ledger" ]] && \
|
||||||
LEDGER_FILE=$HOME/Documents/Financial/personal.ledger
|
LEDGER_FILE=$HOME/Documents/Financial/personal.ledger
|
||||||
|
|
||||||
|
|
||||||
if [[ -e "$HOME/.rc.$SYS" ]]; then
|
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"
|
source "$HOME/.rc.$SYS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -14,3 +14,6 @@ binary_exists gnuindent && alias indent='gnuindent'
|
||||||
if binary_exists gls; then
|
if binary_exists gls; then
|
||||||
configure_ls `which gls`
|
configure_ls `which gls`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# ldd doesn't exist on OS X, but otool -L does the same thing.
|
||||||
|
alias ldd='otool -L'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue