less: install recent version, set pager options
This commit is contained in:
parent
b097f96a9c
commit
01b5dab099
@ -2,6 +2,7 @@
|
|||||||
set -gx BAT_STYLE plain
|
set -gx BAT_STYLE plain
|
||||||
set -gx EDITOR nvim
|
set -gx EDITOR nvim
|
||||||
set -gx LANG en_US.UTF-8
|
set -gx LANG en_US.UTF-8
|
||||||
|
set -gx PAGER 'less --tabs=4 --jump-target=.25 -iRFM'
|
||||||
set -gx SBT_OPTS '-Dsbt.supershell=false'
|
set -gx SBT_OPTS '-Dsbt.supershell=false'
|
||||||
|
|
||||||
if test -x /usr/libexec/java_home
|
if test -x /usr/libexec/java_home
|
||||||
@ -9,7 +10,7 @@ if test -x /usr/libexec/java_home
|
|||||||
end
|
end
|
||||||
|
|
||||||
if command -q diff-so-fancy
|
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
|
end
|
||||||
|
|
||||||
if command -q interactive-rebase-tool
|
if command -q interactive-rebase-tool
|
||||||
|
@ -13,6 +13,7 @@ brew install \
|
|||||||
fzf \
|
fzf \
|
||||||
git \
|
git \
|
||||||
interactive-rebase-tool \
|
interactive-rebase-tool \
|
||||||
|
less \
|
||||||
neovim \
|
neovim \
|
||||||
ripgrep \
|
ripgrep \
|
||||||
tree
|
tree
|
||||||
|
@ -13,6 +13,7 @@ if [ -x "$NIX_ENV" ]; then
|
|||||||
nixpkgs.fd \
|
nixpkgs.fd \
|
||||||
nixpkgs.fish \
|
nixpkgs.fish \
|
||||||
nixpkgs.fzf \
|
nixpkgs.fzf \
|
||||||
|
nixpkgs.less \
|
||||||
nixpkgs.neovim \
|
nixpkgs.neovim \
|
||||||
nixpkgs.ripgrep \
|
nixpkgs.ripgrep \
|
||||||
nixpkgs.tree
|
nixpkgs.tree
|
||||||
|
Loading…
x
Reference in New Issue
Block a user