diff options
-rw-r--r-- | zsh/profile-leeloo | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zsh/profile-leeloo b/zsh/profile-leeloo index b37ac81..f5c7658 100644 --- a/zsh/profile-leeloo +++ b/zsh/profile-leeloo @@ -1,5 +1,7 @@ if (( UID )); then - export LD_PRELOAD="$HOME"/.local/lib/libwcwidth.so + if [[ -x "$HOME"/.local/lib/libwcwidth.so ]]; then + export LD_PRELOAD="$HOME"/.local/lib/libwcwidth.so + fi export PERL5LIB="$HOME"/misc/grawity/code/lib/perl5"${PERL5LIB+:}$PERL5LIB"; source <(perl -Mlocal::lib="$HOME"/.local) |