Improve README
This commit is contained in:
@@ -29,7 +29,11 @@ case "$(uname -s)" in
|
||||
Linux*) {
|
||||
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
# make less more friendly for non-text input files, see lesspipe(1)
|
||||
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
|
||||
local lesspipe_bin_location
|
||||
lesspipe_bin_location=$(which lesspipe)
|
||||
if [ $? -eq 0 ]; then
|
||||
[ -x $lesspipe_bin_location ] && eval "$(lesspipe)"
|
||||
fi
|
||||
} ;;
|
||||
Darwin*) {
|
||||
source "$(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||
|
||||
Reference in New Issue
Block a user