WIP: Switch to NixOS #5
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,8 @@ export MANPAGER="nvim +Man!"
|
||||||
|
|
||||||
# Use GPG for SSH authentication
|
# Use GPG for SSH authentication
|
||||||
export GPG_TTY="$(tty)"
|
export GPG_TTY="$(tty)"
|
||||||
|
# Fix for pinentry not working for ssh
|
||||||
|
gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||||
|
|
||||||
# set SSH_AUTH_SOCK if not logging in over SSH
|
# set SSH_AUTH_SOCK if not logging in over SSH
|
||||||
if [ "$SSH_CONNECTION" -eq "" ]; then
|
if [ "$SSH_CONNECTION" -eq "" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue