summaryrefslogtreecommitdiff
path: root/conf.d/00-user-config.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/00-user-config.zsh')
-rw-r--r--conf.d/00-user-config.zsh11
1 files changed, 11 insertions, 0 deletions
diff --git a/conf.d/00-user-config.zsh b/conf.d/00-user-config.zsh
new file mode 100644
index 0000000..e075f17
--- /dev/null
+++ b/conf.d/00-user-config.zsh
@@ -0,0 +1,11 @@
+PRIMARY_USER=till
+
+if (($+commands[nvim])); then
+ EDITOR=nvim
+elif (($+commands[vim])); then
+ EDITOR=vim
+elif (($+commands[vi])); then
+ EDITOR=vi
+else
+ EDITOR=nano
+fi