summaryrefslogtreecommitdiff
path: root/dotfiles/profile
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-03-12 16:06:37 +0100
committerAnton Khirnov <anton@khirnov.net>2021-03-12 16:06:37 +0100
commit816cbc1a87593a93fe5eaea706ed1e3bfddb959d (patch)
treef345aff86cea4fe682477aed72652de8679c7730 /dotfiles/profile
parent9ccf6c7a63200ee5da24506895c37ae3a7dade79 (diff)
profile: set VISUAL/EDITOR
Diffstat (limited to 'dotfiles/profile')
-rw-r--r--dotfiles/profile3
1 files changed, 3 insertions, 0 deletions
diff --git a/dotfiles/profile b/dotfiles/profile
index 68824fb..df3746f 100644
--- a/dotfiles/profile
+++ b/dotfiles/profile
@@ -6,6 +6,9 @@ export LC_TIME=en_DK.UTF-8
## prevent python from crapping all over the filesystem
export PYTHONDONTWRITEBYTECODE=1
+export EDITOR=vim
+export VISUAL=$EDITOR
+
## put XDG_RUNTIME_DIR crap under .cache
## not the optimal solution, but should be
## good enough in practice