diff options
-rw-r--r-- | dotfiles/profile | 7 | ||||
-rw-r--r-- | install.conf.yaml | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/dotfiles/profile b/dotfiles/profile index df3746f..7921b92 100644 --- a/dotfiles/profile +++ b/dotfiles/profile @@ -17,7 +17,8 @@ export VISUAL=$EDITOR ## auto-creating and cleaning a per-boot dir export XDG_RUNTIME_DIR=${HOME}/.cache/ -# colors for less +## less configuration +### colors export LESS="-iR" export LESS_TERMCAP_mb=$'\E[01;36m' export LESS_TERMCAP_md=$'\E[01;36m' @@ -27,6 +28,10 @@ export LESS_TERMCAP_so=$'\E[01;44;33m' export LESS_TERMCAP_ue=$'\E[0m' export LESS_TERMCAP_us=$'\E[11;32m' +### history +export LESSHISTFILE=${HOME}/.local/var/less/history +export LESSHISTSIZE=65536 + ## set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" diff --git a/install.conf.yaml b/install.conf.yaml index 795ff32..5db5fe0 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -7,6 +7,7 @@ - ~/.local/var/bash - ~/.local/var/cron/daily - ~/.local/var/dotfiles + - ~/.local/var/less - ~/.local/var/vim/undo - ~/.vim/colors - ~/.vim/ftplugin/rst |