aboutsummaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rwxr-xr-x.bashrc26
1 files changed, 14 insertions, 12 deletions
diff --git a/.bashrc b/.bashrc
index ae50f2d..8803a45 100755
--- a/.bashrc
+++ b/.bashrc
@@ -10,10 +10,10 @@ case $- in
esac
# Start the gpg-agent if not already running
-if ! pgrep -x -u "${USER}" gpg-agent >/dev/null 2>&1; then
- gpg-connect-agent /bye >/dev/null 2>&1
-fi
-gpg-connect-agent updatestartuptty /bye >/dev/null
+# if ! pgrep -x -u "${USER}" gpg-agent >/dev/null 2>&1; then
+# gpg-connect-agent /bye >/dev/null 2>&1
+# fi
+# gpg-connect-agent updatestartuptty /bye >/dev/null
# use a tty for gpg
# solves error: "gpg: signing failed: Inappropriate ioctl for device"
@@ -21,13 +21,13 @@ GPG_TTY=$(tty)
export GPG_TTY
# Set SSH to use gpg-agent
-unset SSH_AGENT_PID
-if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
- if [[ -z "$SSH_AUTH_SOCK" ]] || [[ "$SSH_AUTH_SOCK" == *"apple.launchd"* ]]; then
- SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
- export SSH_AUTH_SOCK
- fi
-fi
+# unset SSH_AGENT_PID
+# if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
+# if [[ -z "$SSH_AUTH_SOCK" ]] || [[ "$SSH_AUTH_SOCK" == *"apple.launchd"* ]]; then
+# SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
+# export SSH_AUTH_SOCK
+# fi
+# fi
# Shell
if [ -z "$SSH_AUTH_SOCK" ] ; then
@@ -53,4 +53,6 @@ for file in ~/.{aliases,path,extras}; do
source "$file"
fi
done
-unset file \ No newline at end of file
+unset file
+export VOLTA_HOME="$HOME/.volta"
+export PATH="$VOLTA_HOME/bin:$PATH"