diff --git a/.bashrc b/.bashrc index fbce3cc..6d03288 100644 --- a/.bashrc +++ b/.bashrc @@ -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' +