mirror of
https://github.com/arcan1s/dotfiles.git
synced 2025-07-16 07:09:57 +00:00
rename files to zsh
This commit is contained in:
14
zsh/vimpager.zsh
Normal file
14
zsh/vimpager.zsh
Normal file
@ -0,0 +1,14 @@
|
||||
# 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/bin/vimpager"
|
||||
fi
|
||||
alias less="$PAGER"
|
||||
alias zless="$PAGER"
|
||||
|
Reference in New Issue
Block a user