zsh: Reenable stderred with workaround for gpg
Using stderred's blacklist does not work. The new alias simply removes the stderred library from LD_PRELOAD for the execution.
This commit is contained in:
@@ -101,6 +101,11 @@
|
||||
python3 -c \
|
||||
"from urllib import parse; print(parse.unquote(\"$*\"), end=\"\")"
|
||||
}'
|
||||
# Workaround for stack smash when using stderred
|
||||
alias gpg='
|
||||
env LD_PRELOAD="$(
|
||||
sed "s/[^:]*libstderred.so:\?//;s/:$//" <<<"$LD_PRELOAD"
|
||||
)" gpg'
|
||||
|
||||
# Named directories
|
||||
hash -d docs=~/docs
|
||||
|
||||
Reference in New Issue
Block a user