diff options
| author | Mitsuo Tokumori <[email protected]> | 2023-11-23 22:01:36 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2023-11-23 22:01:36 -0500 |
| commit | 19487f950f1c28fd8403d8ce320300c0b8517b82 (patch) | |
| tree | 265890a174d2e4ea3258b9f55546a45aa305ffb5 /bash/bashrc | |
| parent | 1621463f17260f560fac5cf2745fe970e8e0190c (diff) | |
| download | dotfiles-19487f950f1c28fd8403d8ce320300c0b8517b82.tar.gz dotfiles-19487f950f1c28fd8403d8ce320300c0b8517b82.tar.bz2 dotfiles-19487f950f1c28fd8403d8ce320300c0b8517b82.zip | |
Define EDITOR and VISUAL env vars
Diffstat (limited to 'bash/bashrc')
| -rw-r--r-- | bash/bashrc | 12 |
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 |
