summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-04-25 00:43:42 -0400
committerBen Morrison <ben@gbmor.dev>2020-04-25 00:43:42 -0400
commit5d6a0d9b894cb50997e67a29dce501939def2237 (patch)
tree8030017892a0c05a35e81e48a23eb4dd735b6c68
parent2d4597f394257de01779368f47016c334164cebd (diff)
downloaddogfiles-5d6a0d9b894cb50997e67a29dce501939def2237.tar.gz
fixed gpg-agent startup
-rw-r--r--.config/fish/config.fish13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 9fafdd4..0116ae6 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -1,3 +1,16 @@
+set -x LANG en_US.UTF-8
+set -x LC_ALL en_US.UTF-8
+set -x LANGUAGE en_US.UTF-8
+
+# use gpg-agent for ssh
+set -x GPG_TTY (tty)
+set -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
+gpgconf --create-socketdir
+gpgconf --launch gpg-agent
+gpg-connect-agent updatestartuptty /bye > /dev/null
+
+ulimit -n 8096
+
 function vim
   command nvim $argv
 end