diff --git a/.config/zsh/functions.zsh b/.config/zsh/functions.zsh index 0407dac..15deec3 100644 --- a/.config/zsh/functions.zsh +++ b/.config/zsh/functions.zsh @@ -45,7 +45,7 @@ function cat-highlight() fi done - local catopen="${LESSOPEN/| /}" + local catopen="${LESSOPEN/|/}" eval "${catopen/\%s/${files}} | \cat ${args}" else \cat $@