Skip to content

Commit

Permalink
Merge pull request #38 from pascal-zarrad/bug/wsl-gpg
Browse files Browse the repository at this point in the history
Fix WSL GPG plugin
  • Loading branch information
pascal-zarrad committed Mar 6, 2020
2 parents c84a915 + 5de8e96 commit 4ba391a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#==================================================================

# Semantic versioning version constant
readonly PSH_VERSION="1.0.1"
readonly PSH_VERSION="1.0.2"
echo "PSH - VERSION: ${PSH_VERSION}"

# Dependencies that need to be installed with root privileges through apt-get
Expand Down
2 changes: 1 addition & 1 deletion plugins/wsl-gpg/plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
# the password, so we add a environment variable to fix that.
if grep -q "Microsoft" "/proc/version" || grep -q ".*microsoft-standard*." "/proc/version"
then
write_zshrc "export GPG_TTY=$(tty)"
write_zshrc "export GPG_TTY=\$(tty)"
echo "Applied wsl-gpg fix to support gpg on wsl!"
fi

0 comments on commit 4ba391a

Please sign in to comment.