]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - lesskey
lesskey, setup.sh: Don't store less' history in ~/.
[config/dotfiles.git] / lesskey
diff --git a/lesskey b/lesskey
index dceb3129061df3a07524d6029407864f2c950822..da9ace4a191d7d9722c506e19dad4fbb169b580f 100644 (file)
--- a/lesskey
+++ b/lesskey
@@ -1,5 +1,20 @@
 # Lesskey configuration file for less.
 
+# Copyright (C) 2011-2012  Simon Ruderich
+#
+# This file is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this file.  If not, see <http://www.gnu.org/licenses/>.
+
 
 #command
 
@@ -31,3 +46,7 @@ l right-scroll
 # ignore-case: Ignore case if the search string doesn't contain any uppercase
 #              letters.
 LESS = --no-init --search-skip-screen --quit-if-one-screen --RAW-CONTROL-CHARS --ignore-case
+
+# Store less' history file in this directory. HISTORY_PATH is replaced by
+# setup.sh because lesskey doesn't expand ~/.
+LESSHISTFILE = HISTORY_PATH