aboutsummaryrefslogtreecommitdiff
path: root/bash/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bash/.bashrc')
-rw-r--r--bash/.bashrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
new file mode 100644
index 0000000..44305e9
--- /dev/null
+++ b/bash/.bashrc
@@ -0,0 +1,6 @@
+# use emacs when inside emacs
+if [ -n "INSIDE_EMACS" ]; then
+ export EDITOR="emacsclient"
+else
+ export EDITOR="nvim"
+fi