better prompt texts
This commit is contained in:
parent
53cedcb25f
commit
a80a0387e0
|
@ -29,8 +29,7 @@ if [ ! -e "$nohighlightfile" ]; then
|
||||||
load_highlight
|
load_highlight
|
||||||
else
|
else
|
||||||
# if it isn't found, offer to clone it automatically
|
# if it isn't found, offer to clone it automatically
|
||||||
echo "zsh-syntax-highlighting not found."
|
if confirm "zsh-syntax-highlighting not found, clone into ~/src?"; then
|
||||||
if confirm "Clone from git into $targetdir?"; then
|
|
||||||
mkdir -p "$targetdir"
|
mkdir -p "$targetdir"
|
||||||
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "$targetdir"
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "$targetdir"
|
||||||
load_highlight
|
load_highlight
|
||||||
|
|
Loading…
Reference in a new issue