From 19487f950f1c28fd8403d8ce320300c0b8517b82 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Thu, 23 Nov 2023 22:01:36 -0500 Subject: Define EDITOR and VISUAL env vars --- bash/bashrc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'bash/bashrc') 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 -- cgit v1.2.3