aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/profile-leeloo
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/profile-leeloo')
-rw-r--r--zsh/profile-leeloo8
1 files changed, 6 insertions, 2 deletions
diff --git a/zsh/profile-leeloo b/zsh/profile-leeloo
index b37ac81..be9ae1a 100644
--- a/zsh/profile-leeloo
+++ b/zsh/profile-leeloo
@@ -1,8 +1,9 @@
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)
function {
local envfile="$XDG_RUNTIME_DIR"/ssh-agent.env
@@ -16,6 +17,9 @@ if (( UID )); then
}
source "$HOME"/misc/grawity/code/kerberos/kc.sh
+
+ export MAILDIR="$HOME"/mail
+ export MANPATH="$(manpath)":"$HOME"/.local/share/man
fi
# vim: ft=zsh