Compare commits
No commits in common. "fe24bd6f4536966c580804002cbac8147289d5bf" and "1ee0189ff620ac129b703074d6f91782ef1ee3f5" have entirely different histories.
fe24bd6f45
...
1ee0189ff6
2 changed files with 2 additions and 5 deletions
|
@ -1,9 +1,8 @@
|
|||
#!/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
|
||||
|
||||
|
@ -14,7 +13,7 @@ line() {
|
|||
i=$((i + 1))
|
||||
done
|
||||
}
|
||||
echo
|
||||
|
||||
awk -v columns="$COLUMNS" -v s="$(line)" \
|
||||
'BEGIN{
|
||||
for (colnum = 0; colnum<columns+1; colnum++) {
|
||||
|
|
|
@ -26,5 +26,3 @@ 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
|
||||
|
|
Loading…
Reference in a new issue