summaryrefslogtreecommitdiffstats
path: root/bash/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc12
1 files changed, 11 insertions, 1 deletions
diff --git a/bash/bashrc b/bash/bashrc
index d3216d2..7f0abff 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -7,6 +7,17 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
+# TROUBLESHOOTING
+# ===============
+
+export EDITOR=nvim
+export VISUAL=nvim
+export TERM=xterm-256color # Required for AWS VPS work good when SSHing
+
+# https://wiki.archlinux.org/title/GnuPG#Configure_pinentry_to_use_the_correct_TTY
+export GPG_TTY=$(tty)
+gpg-connect-agent updatestartuptty /bye >/dev/null
+
# Bash configuration
# ==================
@@ -37,7 +48,6 @@ shopt -s checkwinsize
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# Alias definitions.
-export EDITOR=nvim
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi