From 8e0e727c0ac74ed042197c7a3ed996a0a6dfd782 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 16 May 2015 01:49:24 +0200 Subject: zsh: leeloo: Only set LD_PRELOAD if wcwidth is executable --- zsh/profile-leeloo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'zsh/profile-leeloo') 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) -- cgit v1.2.3-54-g00ecf From 9a38f61a266a40e921e8f2ab041a22fe09fc8155 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 16 May 2015 01:50:30 +0200 Subject: zsh: leeloo: Set MAILDIR --- zsh/profile-leeloo | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zsh/profile-leeloo') diff --git a/zsh/profile-leeloo b/zsh/profile-leeloo index f5c7658..803745a 100644 --- a/zsh/profile-leeloo +++ b/zsh/profile-leeloo @@ -18,6 +18,8 @@ if (( UID )); then } source "$HOME"/misc/grawity/code/kerberos/kc.sh + + export MAILDIR="$HOME"/mail fi # vim: ft=zsh -- cgit v1.2.3-54-g00ecf From 2b124d1e3e9728b1a550427a8339da7999975741 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 10 Jul 2015 17:55:55 +0200 Subject: zsh: leeloo: profile: add MANPATH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- zsh/profile-leeloo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zsh/profile-leeloo') diff --git a/zsh/profile-leeloo b/zsh/profile-leeloo index 803745a..be9ae1a 100644 --- a/zsh/profile-leeloo +++ b/zsh/profile-leeloo @@ -4,7 +4,6 @@ if (( UID )); then 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 @@ -20,6 +19,7 @@ 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 -- cgit v1.2.3-54-g00ecf