diff options
| author | 2020-09-06 11:40:01 -0400 | |
|---|---|---|
| committer | 2020-09-06 11:40:01 -0400 | |
| commit | 482e2924a8fe2337c24bf8c0412f52f6038dbfd5 (patch) | |
| tree | 516617fb9a4659ddfed7b1d715a04e8787f626cb /dot_zsh | |
| parent | micro: add gemini highlighting (diff) | |
zsh: configure less the proper way please
Diffstat (limited to '')
| -rw-r--r-- | dot_zsh/source/alias.zsh | 1 | ||||
| -rw-r--r-- | dot_zsh/source/env.zsh | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dot_zsh/source/alias.zsh b/dot_zsh/source/alias.zsh index 342fcf6..e9c63bc 100644 --- a/dot_zsh/source/alias.zsh +++ b/dot_zsh/source/alias.zsh @@ -2,7 +2,6 @@ alias cp='cp --reflink=auto' alias dit='docker run --rm -it' drun='dit -v "$PWD":/pwd:Z -w /pwd' alias h='ht -Fb' ht='ht -F' alias g=genius -alias less='less -R' alias m=micro alias ossh='ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR' alias tar=bsdtar diff --git a/dot_zsh/source/env.zsh b/dot_zsh/source/env.zsh index ddd14da..abd3c7e 100644 --- a/dot_zsh/source/env.zsh +++ b/dot_zsh/source/env.zsh @@ -1,6 +1,7 @@ export EDITOR==micro export GIT_EDITOR==micro -export PAGER='less -R' +export LESS='-R --mouse --wheel-lines=4' +export PAGER='less' if [[ -z $TERMINFO_DIRS ]]; then autoload -Uz autosource |
