From f237a71fb0a298063caaf586b7e1a7bbd76371a4 Mon Sep 17 00:00:00 2001 From: NonlinearFruit <1123benji5813@gmail.com> Date: Mon, 5 Aug 2024 18:53:02 -0600 Subject: [PATCH] Protontricks and Nix Home Manager --- bash-aliases.sh | 1 + bashrc.sh | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/bash-aliases.sh b/bash-aliases.sh index 4522e49..d0aad51 100644 --- a/bash-aliases.sh +++ b/bash-aliases.sh @@ -7,6 +7,7 @@ alias tmux-clean='tmux ls -F "#{session_attached} #{session_group} #{session_id} alias tmux-join='tmux ls 2> /dev/null > /dev/null && tmux new -t $(tmux ls -F "#{session_id}" | sed "s/\$//" | head -1)\; new-window -c "$(pwd)" || tmux' alias vi="$EDITOR" alias vim="$EDITOR" +alias protontricks='flatpak run com.github.Matoking.protontricks' if is wsl ; then alias npp='notepad++.exe' diff --git a/bashrc.sh b/bashrc.sh index 920c957..63191ec 100644 --- a/bashrc.sh +++ b/bashrc.sh @@ -93,6 +93,11 @@ if [ -d ~/.ssh ]; then ssh-add ~/.ssh/id_rsa 2> /dev/null fi +# Nix Home Manager +if [ -f ~/.nix-profile/etc/profile.d/hm-session-vars.sh ]; then + source ~/.nix-profile/etc/profile.d/hm-session-vars.sh +fi + # Pip && Python Dependency Manager (pdm) if [ -d ~/.local/bin ]; then export PATH="$PATH:$HOME/.local/bin"