feat(bash): add variable LESSOPEN
This commit is contained in:
parent
22d83b59cc
commit
72e0916480
@ -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
|
||||
|
||||
@ -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'
|
||||
Loading…
x
Reference in New Issue
Block a user