aboutsummaryrefslogtreecommitdiff
path: root/bash/.bashrc
diff options
context:
space:
mode:
authorHenry J. Webster <hwebs@hwebs.info>2026-08-01 10:21:30 -0500
committerHenry J. Webster <hwebs@hwebs.info>2026-08-01 10:21:30 -0500
commit427f4d71227bdade478e752056a4248fb50012fc (patch)
tree48bdec6466fe0e367fa6cdc6dd970825af01fd42 /bash/.bashrc
parent80e65b1056952ad16af658dcbc8d890a56376b1a (diff)
bash: fix EDITOR
Diffstat (limited to 'bash/.bashrc')
-rw-r--r--bash/.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 44305e9..f12feea 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -1,5 +1,5 @@
# use emacs when inside emacs
-if [ -n "INSIDE_EMACS" ]; then
+if [ -n "$INSIDE_EMACS" ]; then
export EDITOR="emacsclient"
else
export EDITOR="nvim"