commit 7542dc3f5078996f9e5f44f69d39ee3a3bf366fb
parent afb6d679ed60ff16d3911df97968cbb2547844da
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date: Wed, 28 Feb 2024 02:09:00 -0500
Updated .bash_profile
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.bash_profile b/.bash_profile
@@ -1,4 +1,5 @@
-export EDITOR=vim
+export VISUAL="emacs -nw"
+export EDITOR="ed"
export PAGER=less
export LANG=en_US.UTF-8
export BROWSER=elinks
@@ -18,6 +19,7 @@ export XDG_STATE_HOME="$HOME/.local/state"
#export GNUPGHOME="$XDG_DATA_HOME"/gnupg
export ELINKS_CONFDIR="$XDG_CONFIG_HOME"/elinks
+export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc
export MAXIMA_USERDIR="$XDG_CONFIG_HOME"/maxima
export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history
export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
@@ -39,6 +41,10 @@ export PERL_LOCAL_LIB_ROOT="$HOME/perl5"
export PERL_MB_OPT="--install_base \"$HOME/perl5\""
export PERL_MM_OPT="INSTALL_BASE=$HOME/perl5"
+export TEXEDIT="${VISUAL:-$EDITOR} +%d %s"
+export MFEDIT="${VISUAL:-$EDITOR} +%d %s"
+export MPEDIT="${VISUAL:-$EDITOR} +%d %s"
+
source "$HOME"/.bashrc
export PATH