feat(bash): add variable LESSOPEN

This commit is contained in:
thek4n 2024-04-12 19:31:03 +03:00
parent 22d83b59cc
commit 72e0916480
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,4 @@
# vim: ft=bash
umask 022
@ -7,6 +8,10 @@ export VISUAL="nvim"
export PAGER="less"
export LESS="-nMiSRx4 -# 1 -+X -+F"
if command -v "lesspipe.sh" &>/dev/null; then
export LESSOPEN="| lesspipe.sh %s"
fi
export CDPATH=:~:~/code
export HISTSIZE=100000

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
echo 'pacman -S man-pages man-db gdb strace'
echo 'pacman -S man-pages man-db lesspipe'
echo 'echo "ParallelDownloads = 5\nVerbosePkgLists" >> /etc/pacman.conf'
echo 'sudo systemctl enable --now gpm'