diff --git a/.zshrc b/.zshrc index 0b8361f..cba1681 100644 --- a/.zshrc +++ b/.zshrc @@ -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 \