From ae3c7c28d169c5176ccdd10d5bc9d2e346c405e0 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sat, 4 May 2019 11:41:30 -0400 Subject: [PATCH] Move EDITOR env var export to .bash_profile --- bash/.bash_profile | 3 +++ bash/.bashrc | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bash/.bash_profile b/bash/.bash_profile index 617e23e..f17c971 100644 --- a/bash/.bash_profile +++ b/bash/.bash_profile @@ -15,3 +15,6 @@ fi export LEDGER_FILE="~/journal.ledger" PATH="$PATH":"~/.local/bin":"~/bin/":"~/.gem/ruby/2.6.0/bin":"~/.gem/ruby/2.5.0/bin":"~/go/bin" + +EDITOR="$(which emacsclient)" +export EDITOR diff --git a/bash/.bashrc b/bash/.bashrc index 8e34dd0..e168d41 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -28,9 +28,6 @@ then fi alias edit="$(which emacsclient)" -EDITOR="$(which emacsclient)" -export EDITOR - if [ -d "$HOME/.nvm" ]; then