stderred alias

This commit is contained in:
Kolan Sh 2012-05-21 11:54:03 +04:00
parent 4d4d115f06
commit cfd9d272b1
1 changed files with 2 additions and 3 deletions

View File

@ -43,6 +43,5 @@ setopt inc_append_history
unsetopt equals
stderred_lib_path=`whereis stderred.so | cut -d: -f2 | cut -d" " -f2`
[[ "" != "$stderred_lib_path" ]] && alias stderred="LD_PRELOAD=$stderred_lib_path"
unset stderred_lib_path
alias stderred="LD_PRELOAD=/usr/lib/stderred.so"
alias stderred32="LD_PRELOAD=/usr/lib32/stderred.so"