less: install recent version, set pager options

This commit is contained in:
Charles Gould 2020-08-04 01:15:15 -04:00
parent b097f96a9c
commit 01b5dab099
3 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,7 @@
set -gx BAT_STYLE plain
set -gx EDITOR nvim
set -gx LANG en_US.UTF-8
set -gx PAGER 'less --tabs=4 --jump-target=.25 -iRFM'
set -gx SBT_OPTS '-Dsbt.supershell=false'
if test -x /usr/libexec/java_home
@ -9,7 +10,7 @@ if test -x /usr/libexec/java_home
end
if command -q diff-so-fancy
set -gx GIT_PAGER 'diff-so-fancy | less --tabs=4 -RFX'
set -gx GIT_PAGER "diff-so-fancy | $PAGER"
end
if command -q interactive-rebase-tool

View File

@ -13,6 +13,7 @@ brew install \
fzf \
git \
interactive-rebase-tool \
less \
neovim \
ripgrep \
tree

View File

@ -13,6 +13,7 @@ if [ -x "$NIX_ENV" ]; then
nixpkgs.fd \
nixpkgs.fish \
nixpkgs.fzf \
nixpkgs.less \
nixpkgs.neovim \
nixpkgs.ripgrep \
nixpkgs.tree