]> git.nbdom.net Git - nb.git/commitdiff
vim
authorroot <root@vps472582.ovh.net>
Fri, 27 Oct 2017 15:31:07 +0000 (16:31 +0100)
committerroot <root@vps472582.ovh.net>
Fri, 27 Oct 2017 15:31:07 +0000 (16:31 +0100)
etc/vim/source/option.vim

index f3869f5f5ff0fc8817bf57b2d9d24ff8f529a088..0e2f2c9ecf4fe5623c82d3c7ffa5bbe5b3950293 100644 (file)
@@ -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