only get first line

This commit is contained in:
Michael Zhang 2020-06-15 04:14:40 -05:00
parent 21948eecff
commit b8a30a25a7
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B

View file

@ -1,4 +1,4 @@
#!/bin/bash
zshHighlight=$(locate zsh-syntax-highlighting/zsh-syntax-highlighting.zsh)
zshHighlight=$(locate zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | head -n 1)
echo "source $zshHighlight" >> $HOME/.zshrc