X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/a38abd4c8fb7572237b2681bb1d0d6b0e5b262b0..92df6c4f9ba46287c07314eaddc18948c14e806f:/.bashrc?ds=sidebyside diff --git a/.bashrc b/.bashrc index f93f6c9..e581cd3 100644 --- a/.bashrc +++ b/.bashrc @@ -69,13 +69,11 @@ aur() { cd ${1} } -# fzf -#include /usr/share/fzf/key-bindings.bash -#include /usr/share/fzf/completion.bash - -if ! pgrep -u "$USER" ssh-agent > /dev/null; then - ssh-agent > ~/.ssh-agent-thing -fi -if [[ ! "$SSH_AUTH_SOCK" ]]; then - eval "$(<~/.ssh-agent-thing)" +if [ -z "$IS_GUIX_SYSTEM" ]; then + if ! pgrep -u "$USER" ssh-agent > /dev/null; then + ssh-agent > ~/.ssh-agent-thing + fi + if [[ ! "$SSH_AUTH_SOCK" ]]; then + eval "$(<~/.ssh-agent-thing)" + fi fi