From 5e4919502ff4aacd58270bcc83b858d48d91dab6 Mon Sep 17 00:00:00 2001 From: johannst Date: Mon, 12 Apr 2021 08:50:36 +0200 Subject: zshrc: add nvim alias + comment for p10k font --- zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zshrc b/zshrc index 5059de1..a85085b 100644 --- a/zshrc +++ b/zshrc @@ -38,6 +38,8 @@ function zshPlug() { zshPlug 'zsh-users/zsh-autosuggestions' zshPlug 'chriskempson/base16-shell' +# MesloLGS font: https://github.com/romkatv/powerlevel10k#manual-font-installation +# eg: wget -P ~/.fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf zshPlug 'romkatv/powerlevel10k.git' -i powerlevel10k.zsh-theme @@ -101,6 +103,10 @@ alias grep='\grep --color=auto -Hn' alias fd="fd --color auto --no-ignore" alias rg="rg --color auto --no-ignore" +if which nvim &> /dev/null; then + alias vim='nvim' +fi + # Basic environment -- cgit v1.2.3