diff --git a/dot_bashrc.d/executable_08.alias b/dot_bashrc.d/executable_08.alias index bd41652..98ad0e0 100644 --- a/dot_bashrc.d/executable_08.alias +++ b/dot_bashrc.d/executable_08.alias @@ -20,6 +20,11 @@ alias lm='ls -al |more' # pipe through 'more' alias l='ls -CF' alias lsd='ls -l | grep "^d"' #list only directories +# Use vim if available +if type vim >/dev/null 2>/devnull; then + alias vi=$(which vim) +fi + # git shortcut alias gg='git graph'