From b8a30a25a711e02f2cdfe8dd23798907fc81c6d6 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Mon, 15 Jun 2020 04:14:40 -0500 Subject: [PATCH] only get first line --- run_10_resolve_locations.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_10_resolve_locations.sh b/run_10_resolve_locations.sh index 8926cef..6e2a989 100755 --- a/run_10_resolve_locations.sh +++ b/run_10_resolve_locations.sh @@ -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