mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-03-13 21:33:22 +01:00
fix: expected unary operator
This commit is contained in:
parent
b0b16e7cea
commit
4a3460a96d
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ build_message () {
|
|||
local argc=${#@}
|
||||
local i=0
|
||||
|
||||
while [ $i -lt $argc ];
|
||||
while [[ $i -lt $argc ]];
|
||||
do
|
||||
if [[ "${argv[$i]}" =~ (-sa|-as) ]]; then
|
||||
local attention='!'
|
||||
|
|
Loading…
Add table
Reference in a new issue