diff options
author | Toby Vincent <tobyv13@gmail.com> | 2021-05-08 16:40:58 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2021-05-08 16:40:58 -0500 |
commit | 71308bbc41d2477f2445d346043dfed79b7645c2 (patch) | |
tree | b54eb6e778571ea7d2d1772fb1458b3c60574f5e /zsh | |
parent | db28a0a4b226ffbd9f5b2109225268349299d633 (diff) |
feat: added exporting the TTY
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/wsl.zsh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zsh/wsl.zsh b/zsh/wsl.zsh index b1cd64a..0a9da05 100644 --- a/zsh/wsl.zsh +++ b/zsh/wsl.zsh @@ -51,6 +51,9 @@ function r-cut() { # https://github.com/benpye/wsl-ssh-pageant # https://github.com/drduh/YubiKey-Guide#remote-host-configuration # https://dev.to/dzerycz/series/11353 + +export GPG_TTY=$(tty) + # SSH Socket # Removing Linux SSH socket and replacing it by link to wsl2-ssh-pageant socket export SSH_AUTH_SOCK=$HOME/.ssh/agent.sock |