Compare commits

..

2 commits

Author SHA1 Message Date
fe24bd6f45 let make complete itself 2022-09-02 15:58:02 -05:00
d2b782d384 use tput again 2022-09-02 15:57:52 -05:00
2 changed files with 5 additions and 2 deletions

View file

@ -1,8 +1,9 @@
#!/usr/bin/env bash
# ensure COLUMNS is set
stty size > /dev/null
# stty size > /dev/null
COLUMNS=$(tput cols)
# delay for wezterm to learn it's size
sleep 0.2
@ -13,7 +14,7 @@ line() {
i=$((i + 1))
done
}
echo
awk -v columns="$COLUMNS" -v s="$(line)" \
'BEGIN{
for (colnum = 0; colnum<columns+1; colnum++) {

View file

@ -26,3 +26,5 @@ else
setopt PROMPT_SUBST
PROMPT='%F{green}%*%f %F{blue}%~%f %F{red}${vcs_info_msg_0_}%f$ '
fi
zstyle ':completion::complete:make:*:targets' call-command true