From 79f529d03873660334387c8a6f13e3d228b308f2 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Wed, 13 Dec 2017 11:16:24 +0100 Subject: [PATCH] Add alias that launch vim with a specific vimrc only with root user. --- zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index a311612..a160458 100644 --- a/zshrc +++ b/zshrc @@ -69,7 +69,8 @@ else alias sj='journalctl ' alias sn='nft list ruleset' alias sp='puppet agent -t ' - alias sv='vi ' + alias vi='vi -S ~/.vim/vimrc ' + alias sv='vi -S ~/.vim/vimrc ' fi # Raccourcis pour cat