From 25cd8380f802b069f95d9514563aa2a083176925 Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Mon, 15 May 2017 14:32:03 +0200 Subject: Add prompt and other conf.d --- conf.d/00-user-config.zsh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 conf.d/00-user-config.zsh (limited to 'conf.d/00-user-config.zsh') 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 -- cgit v1.2.3