mirror of
https://github.com/arcan1s/dotfiles.git
synced 2025-04-24 16:07:17 +00:00
fix vimpager
This commit is contained in:
parent
b2e2064b28
commit
991fd5beee
1
zsh-server/bin
Symbolic link
1
zsh-server/bin
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../zsh/bin
|
@ -1 +0,0 @@
|
|||||||
../zsh/use-vimpager
|
|
4366
zsh/bin/vimpager
Executable file
4366
zsh/bin/vimpager
Executable file
File diff suppressed because it is too large
Load Diff
@ -1,14 +0,0 @@
|
|||||||
# use vimcat instead of cat
|
|
||||||
# till vimpager doesn't use pipe disable it
|
|
||||||
#alias cat='vimcat'
|
|
||||||
|
|
||||||
# use vimpager instead of less
|
|
||||||
# find vimpager
|
|
||||||
if which vimpager &> /dev/null; then
|
|
||||||
export PAGER="vimpager"
|
|
||||||
else
|
|
||||||
export PAGER="$HOME/.zsh/vimpager"
|
|
||||||
fi
|
|
||||||
alias less="$PAGER"
|
|
||||||
alias zless="$PAGER"
|
|
||||||
|
|
4374
zsh/vimpager
Executable file → Normal file
4374
zsh/vimpager
Executable file → Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user