aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-24 10:47:22 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-24 10:47:22 +1200
commit3e3a43b7e224f9586c3b4d61c2945fc3993f9046 (patch)
treed5fc26d9101e3ad95435c89e3718d565b1dd33dd
parentBump history limits back up a bit (diff)
downloaddotfiles-3e3a43b7e224f9586c3b4d61c2945fc3993f9046.tar.gz
dotfiles-3e3a43b7e224f9586c3b4d61c2945fc3993f9046.zip
Add a start for configuration for less(1)
I suspect I'll mostly be turning stuff I don't like off
-rw-r--r--Makefile6
-rw-r--r--README.markdown1
-rw-r--r--less/lesskey3
3 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8e63e7fc..acb6f149 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,7 @@
install-gnupg \
install-gtk \
install-i3 \
+ install-less \
install-maildir \
install-mutt \
install-ncmcpp \
@@ -129,6 +130,7 @@ install : install-bash \
install-curl \
install-git \
install-gnupg \
+ install-less \
install-readline \
install-sh \
install-vim
@@ -214,6 +216,10 @@ install-i3 : install-x
install -m 0755 -d -- "$(HOME)"/.i3
install -pm 0644 -- i3/* "$(HOME)"/.i3
+install-less :
+ install -pm 0644 -- less/lesskey "$(HOME)"/.lesskey
+ command -v lesskey && lesskey
+
install-maildir :
install -m 0755 -d -- \
"$(HOME)"/Mail/inbox/cur \
diff --git a/README.markdown b/README.markdown
index 98eb9578..d2ce0efa 100644
--- a/README.markdown
+++ b/README.markdown
@@ -53,6 +53,7 @@ Configuration is included for:
* [GTK+](http://www.gtk.org/) -- GIMP Toolkit, for graphical user interface
elements
* [i3](https://i3wm.org/) -- Tiling window manager
+* [less](https://www.gnu.org/software/less/) -- Terminal pager
* [Mutt](http://www.mutt.org/) -- Terminal mail user agent
* [`mysql(1)`](http://linux.die.net/man/1/mysql) -- Command-line MySQL client
* [Ncmpcpp](https://rybczak.net/ncmpcpp/) -- ncurses music player client
diff --git a/less/lesskey b/less/lesskey
new file mode 100644
index 00000000..874e6768
--- /dev/null
+++ b/less/lesskey
@@ -0,0 +1,3 @@
+#env
+# Don't keep history
+LESSHISTFILE = -