usr

Modulate your userpace into POSIX-compliant shell scripts!
git clone git://clone.theohenson.com/usr.git
Log | Files | Refs | README

commit 5482f37eefc94d44d13db0e23aefb54693fbd093
parent 0bfcc645497d41489ed2cd2b85ddcfe2b42b8930
Author: Theo Henson <[email protected]>
Date:   Mon, 21 Dec 2020 02:12:48 -0500

Fix gpg agent

Diffstat:
Mhome/.bash_profile | 3---
Mhome/.config/fish/config.fish | 4++++
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/home/.bash_profile b/home/.bash_profile @@ -1,8 +1,5 @@ source "$HOME"/.profile -export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) -gpgconf --launch gpg-agent - if [[ -z $DISPLAY ]] ; then # test for an existing bus daemon, just to be safe diff --git a/home/.config/fish/config.fish b/home/.config/fish/config.fish @@ -44,6 +44,10 @@ alias lynx='lynx -accept_all_cookies -vikeys' alias pcmn='pacman -Sl | cut -d" " -f2,3,4 | fzf -m --preview "pacman -Si {1}" --preview-window=right:66%:wrap | xargs -ro -n 1 sudo pacman -S' alias fzfcmd='set fzfcmd ( grep " cmd: " $XDG_DATA_HOME/fish/fish_history | sed "s/- cmd: //" | grep -v fzfcmd | tac | fzf -e --color=16 --no-sort ) && echo $fzfcmd && eval $fzfcmd' +# ensure ssh authentication via gpg +set -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket) +gpgconf --launch gpg-agent + # make delete work in st switch $TERM case 'st-*'