zsh: don't set glow alias in vim terminal

This commit is contained in:
PowerUser64 2021-10-23 21:42:44 -07:00
parent 7f6c2916de
commit c1dd7c9fe2

3
.zshrc
View file

@ -81,7 +81,8 @@
alias df='df -h' # Human-readable sizes
alias free='free -m' # Show sizes in MB
alias bc='bc -ql' # Make bc usable for fast math
alias glow='glow -p' # Glow preview in `less`
[ -z "$VIMRUNTIME" ] &&
alias glow='glow -p' # force Glow to preview with `less` if not in vim
# Colors
alias \