summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/parameters6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/parameters b/etc/parameters
index 0374426..12d6f37 100644
--- a/etc/parameters
+++ b/etc/parameters
@@ -19,8 +19,10 @@ export CALENDAR_DIR=$HOME/packages/calendar/etc
export HOST
export COLUMNS
export LINES
-export LESSOPEN='| /usr/bin/lesspipe %s'
-export LESSCLOSE='/usr/bin/lesspipe %s %s'
+if [[ -x /usr/bin/lesspipe ]] {
+ export LESSOPEN='| /usr/bin/lesspipe %s'
+ export LESSCLOSE='/usr/bin/lesspipe %s %s'
+}
# others
linux: export LANG=en_US.UTF-8