diff options
author | johannst <johannes.stoelp@gmail.com> | 2021-04-12 08:50:36 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2021-04-12 08:50:36 +0200 |
commit | 5e4919502ff4aacd58270bcc83b858d48d91dab6 (patch) | |
tree | ade745da97670ec1abd8da410649d3a7c651d5a6 /zshrc | |
parent | e7c7376dfa733f9863e7721cdfd3c79767dce5e5 (diff) | |
download | dotfiles-5e4919502ff4aacd58270bcc83b858d48d91dab6.tar.gz dotfiles-5e4919502ff4aacd58270bcc83b858d48d91dab6.zip |
zshrc: add nvim alias + comment for p10k font
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |