From 00ae7b6952d1a73533d59e1dba6307d9013331ba Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sun, 17 Jul 2022 21:36:31 +0100 Subject: [PATCH] Alias vim to vi --- roles/home-cli/files/bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/home-cli/files/bashrc b/roles/home-cli/files/bashrc index 1a2400f..bb4d856 100644 --- a/roles/home-cli/files/bashrc +++ b/roles/home-cli/files/bashrc @@ -126,6 +126,8 @@ alias fr="LANG=fr_FR.UTF-8" if [ -x /usr/bin/vim ] then alias vi=vim +else + alias vim=vi fi # Alias dig to drill if dig is not installed.