Added gentoo lesspipe alternative setup
This commit is contained in:
parent
bf2b491f09
commit
4c2033e000
1 changed files with 14 additions and 1 deletions
13
.bashrc
13
.bashrc
|
@ -28,7 +28,9 @@ shopt -s checkwinsize
|
||||||
#shopt -s globstar
|
#shopt -s globstar
|
||||||
|
|
||||||
# make less more friendly for non-text input files, see lesspipe(1)
|
# make less more friendly for non-text input files, see lesspipe(1)
|
||||||
|
if [ ! -f /etc/gentoo-release ]; then
|
||||||
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||||
|
fi
|
||||||
|
|
||||||
# set variable identifying the chroot you work in (used in the prompt below)
|
# set variable identifying the chroot you work in (used in the prompt below)
|
||||||
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
|
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
|
||||||
|
@ -125,3 +127,14 @@ test -r ~/.bashrc_local && ~/.bashrc.local
|
||||||
eval "$(direnv hook bash)"
|
eval "$(direnv hook bash)"
|
||||||
eval "$(starship init 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'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue