1
0
Fork 0

alias paru with LESS instead of exporting LESS

This commit is contained in:
Pratham Patel 2022-12-21 16:33:06 +05:30
parent c6ce6ceb3a
commit 2a3bf77fa7
1 changed files with 1 additions and 4 deletions

View File

@ -11,10 +11,6 @@ export LANG=en_IN.UTF-8
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
export EDITOR=/usr/bin/nvim
export SYSTEMD_EDITOR=/usr/bin/nvim
if [[ "$MACHINE_HOSTNAME" == "flameboi" || "$MACHINE_HOSTNAME" == "vasudev" ]]; then
export LESS=SRX
fi
elif [[ "$OSTYPE" == "darwin"* ]]; then
export EDITOR=/usr/local/bin/nvim
fi
@ -99,6 +95,7 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
if [[ "$MACHINE_HOSTNAME" == "flameboi" || "$MACHINE_HOSTNAME" == "vasudev" ]]; then
alias drivetemp="sudo hdparm -CH /dev/sda /dev/sdb /dev/sdc /dev/sdd"
alias paru="LESS=SRX paru"
# aliases useful when using a WM
alias suslock="$HOME/.config/polybar/mods/module_suspend_script.sh"