From 7b5ab5317fb2d3a057bdcc433867c52a88922198 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Mon, 6 Jan 2014 15:18:42 +0100 Subject: [PATCH] profile: add plan9 environment Modified MANPATH and PATH accordingly. --- .profile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.profile b/.profile index d1082b71..0659310b 100644 --- a/.profile +++ b/.profile @@ -55,6 +55,16 @@ if [ -d "${TEXDIR}" ]; then fi unset TEXDIR +## Plan9 +PLAN9DIR="/opt/plan9" +if [ -d "$PLAN9DIR" ]; then + appendpath "$PLAN9DIR/bin" + if [ "$OSTYPE" = "linux-gnu" ]; then + appendpath "$PLAN9DIR/share/man" MANPATH + fi +fi +unset PLAN9DIR + ## Make 'less' more friendly for non-text input files, see lesspipe(1). command -v lesspipe >/dev/null 2>&1 && eval "$(lesspipe)"