summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <johannes.ranke@jrwb.de>2024-12-06 21:54:00 +0100
committerJohannes Ranke <johannes.ranke@jrwb.de>2024-12-06 21:54:00 +0100
commitb1f87838d4adea8622a7543811c5bd88ba79cbbf (patch)
treeb01df5a243cd50e7c9f54e5181b18865151b426d
parent1f48896df4e302bd98a67463e8b44dadea8e18bd (diff)
Let
-rw-r--r--bashrc12
1 files changed, 1 insertions, 11 deletions
diff --git a/bashrc b/bashrc
index 4d6e54a..a053eb5 100644
--- a/bashrc
+++ b/bashrc
@@ -1,17 +1,7 @@
# vim: foldmethod=marker ts=4 sw=4
# editor {{{
# Prefer neovim over vim over vi
-if [ -e /usr/bin/nvim ]
-then
- EDITOR=/usr/bin/nvim
-else
- if [ -e /usr/bin/vim ]
- then
- EDITOR=/usr/bin/vim
- else
- EDITOR=/usr/bin/vi
- fi
-fi
+EDITOR=vim
export EDITOR
# }}}
# R {{{

Contact - Imprint