summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/functions/l10
-rw-r--r--etc/parameters2
2 files changed, 2 insertions, 10 deletions
diff --git a/etc/functions/l b/etc/functions/l
deleted file mode 100644
index c95a299..0000000
--- a/etc/functions/l
+++ /dev/null
@@ -1,10 +0,0 @@
-# self-explaining, I think
-if [[ -f "$1" ]]; then
- case "$1" in
- *.bz2) bzless "$1" ;;
- *.gz) zless "$1" ;;
- *) less "$1" ;;
- esac
-else
- echo "No such file, dude."
-fi
diff --git a/etc/parameters b/etc/parameters
index 529163b..b746d4f 100644
--- a/etc/parameters
+++ b/etc/parameters
@@ -20,6 +20,8 @@ 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'
# others
linux: export LANG=en_US.UTF-8