diff options
author | Till Höppner | 2017-05-15 14:32:03 +0200 |
---|---|---|
committer | Till Höppner | 2017-05-15 14:32:03 +0200 |
commit | 25cd8380f802b069f95d9514563aa2a083176925 (patch) | |
tree | 932cee39b430d984570842817d7f4649f6a33956 /conf.d/00-user-config.zsh | |
parent | b2bf9b7a2d72f91d75f2222a70d54eaeb8b04d61 (diff) | |
download | zsh-25cd8380f802b069f95d9514563aa2a083176925.tar.gz zsh-25cd8380f802b069f95d9514563aa2a083176925.tar.xz zsh-25cd8380f802b069f95d9514563aa2a083176925.zip |
Add prompt and other conf.d
Diffstat (limited to 'conf.d/00-user-config.zsh')
-rw-r--r-- | conf.d/00-user-config.zsh | 11 |
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 |