Added gentoo lesspipe alternative setup

This commit is contained in:
Eric Renfro 2024-08-10 20:28:20 -04:00
parent bf2b491f09
commit 4c2033e000
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

15
.bashrc
View file

@ -28,7 +28,9 @@ shopt -s checkwinsize
#shopt -s globstar
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
if [ ! -f /etc/gentoo-release ]; then
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
fi
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
@ -125,3 +127,14 @@ test -r ~/.bashrc_local && ~/.bashrc.local
eval "$(direnv hook bash)"
eval "$(starship init bash)"
if [[ -d "$HOME/.tmuxifier/bin" ]]; then
export PATH="$PATH:$HOME/.tmuxifier/bin"
eval "$(tmuxifier init -)"
elif [[ -d "$HOME/.tmux/plugins/tmuxifier/bin" ]]; then
export PATH="$PATH:$HOME/.tmux/plugins/tmuxifier/bin"
eval "$(tmuxifier init -)"
fi
alias protontricks='flatpak run com.github.Matoking.protontricks'
alias protontricks-launch='flatpak run --command=protontricks-launch com.github.Matoking.protontricks'