summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-04-12 08:50:36 +0200
committerjohannst <johannes.stoelp@gmail.com>2021-04-12 08:50:36 +0200
commit5e4919502ff4aacd58270bcc83b858d48d91dab6 (patch)
treeade745da97670ec1abd8da410649d3a7c651d5a6
parente7c7376dfa733f9863e7721cdfd3c79767dce5e5 (diff)
downloaddotfiles-5e4919502ff4aacd58270bcc83b858d48d91dab6.tar.gz
dotfiles-5e4919502ff4aacd58270bcc83b858d48d91dab6.zip
zshrc: add nvim alias + comment for p10k font
-rw-r--r--zshrc6
1 files changed, 6 insertions, 0 deletions
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