diff --git a/dot_config/fish/conf.d/20-gpg.fish b/dot_config/fish/conf.d/20-gpg.fish index 7511078..f9b9d23 100644 --- a/dot_config/fish/conf.d/20-gpg.fish +++ b/dot_config/fish/conf.d/20-gpg.fish @@ -2,5 +2,8 @@ if command -v gpgconf &>/dev/null set -gx GPG_TTY (tty) - gpgconf --launch gpg-agent + + if status --is-interactive + gpgconf --launch gpg-agent + end end diff --git a/dot_config/fish/conf.d/30-ruby.fish b/dot_config/fish/conf.d/30-ruby.fish index a97a5ed..d366380 100644 --- a/dot_config/fish/conf.d/30-ruby.fish +++ b/dot_config/fish/conf.d/30-ruby.fish @@ -1,7 +1,9 @@ #!/usr/bin/env fish if command -v rvm &>/dev/null - rvm use 3 &>/dev/null + if status --is-interactive + rvm use 3 &>/dev/null + end else if test -e /opt/homebrew/opt/ruby/bin/ruby fish_add_path /opt/homebrew/opt/ruby/bin/ end diff --git a/dot_config/fish/conf.d/30-wget.fish b/dot_config/fish/conf.d/30-wget.fish index 6d04973..6be2e60 100644 --- a/dot_config/fish/conf.d/30-wget.fish +++ b/dot_config/fish/conf.d/30-wget.fish @@ -3,7 +3,6 @@ set -gx WGETRC "$XDG_CONFIG_HOME/wgetrc" if command -v wget &>/dev/null - function wget --wraps wget command wget --hsts-file="$XDG_CACHE_HOME/wget-hsts" $argv end diff --git a/dot_config/packages/archgirlie b/dot_config/packages/archgirlie index 51ba445..170eeab 100644 --- a/dot_config/packages/archgirlie +++ b/dot_config/packages/archgirlie @@ -1,4 +1,3 @@ - -> Avoid running yay as root/sudo. aic94xx-firmware alsa-utils amfora