aboutsummaryrefslogtreecommitdiffstats
path: root/.zshenv
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2019-06-07 01:50:08 -0700
committerkatherine <ageha@airen-no-jikken.icu>2019-06-07 01:50:08 -0700
commite4ffc753ee6438399ec80be9c096f362f29ddd44 (patch)
tree0104bc14c6f274fbd600145d2d84f79a3135c656 /.zshenv
parentf466b5219fa55235708bc4077f09c9ba8e0b0288 (diff)
downloaddotfiles-e4ffc753ee6438399ec80be9c096f362f29ddd44.tar.gz
move envars to .zshenv where they belong
Diffstat (limited to '.zshenv')
-rw-r--r--.zshenv7
1 files changed, 7 insertions, 0 deletions
diff --git a/.zshenv b/.zshenv
new file mode 100644
index 0000000..50c385f
--- /dev/null
+++ b/.zshenv
@@ -0,0 +1,7 @@
+export PAGER="less -R"
+
+if [[ ! -z $(whence nvim) ]] then
+ export EDITOR='nvim'
+elif [[ ! -z $(whence vim) ]] then
+ export EDITOR='vim'
+fi