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