aboutsummaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
authorSimen A. W. Olsen <cobraz@cobraz.no>2020-11-26 21:33:39 +0100
committerSimen A. W. Olsen <cobraz@cobraz.no>2020-11-26 21:33:39 +0100
commitf90a326d2ede169a6a7a4fef983fc613c34eb1d2 (patch)
tree8ef33aec7308129daf3ef29e7f4fcb2b3488e575 /.bashrc
parent65da2569fa56c048e31ba62fef454bcc9e479927 (diff)
downloaddotfiles-f90a326d2ede169a6a7a4fef983fc613c34eb1d2.tar.gz
dotfiles-f90a326d2ede169a6a7a4fef983fc613c34eb1d2.zip
add new pcks
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"