From 14d7a720ecd02b802f7b997475cc9f55c247bc31 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 27 Oct 2017 16:31:07 +0100 Subject: [PATCH] vim --- etc/vim/source/option.vim | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/etc/vim/source/option.vim b/etc/vim/source/option.vim index f3869f5f..0e2f2c9e 100644 --- a/etc/vim/source/option.vim +++ b/etc/vim/source/option.vim @@ -28,9 +28,13 @@ set history=1000 " NB 05.03.16 "set shellcmdflag=-c " NB 05.03.16 "set shell=/bin/bash\ --rcfile\ ~/.bash_profile " NB 05.03.16 endif -for file in ["~/.profile", "~/.bashrc", "~/.bash_profile", "~/.zshrc", "/etc/profile"] + +let $PS1 = "\u@\h:" " See /etc/profile +let $MYVIMRC = "/etc/vim/vimrc" +for file in ["~/.profile", "~/.bash_profile", "~/.bashrc", "~/.zshrc", "/etc/profile"] if !empty(glob(file)) - let $BASH_ENV = file + let $BASH_ENV = resolve(expand(file)) + " echo "Load " . file break endif endfor -- 2.47.3