mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +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 argc=${#@}
|
||||||
local i=0
|
local i=0
|
||||||
|
|
||||||
while [ $i -lt $argc ];
|
while [[ $i -lt $argc ]];
|
||||||
do
|
do
|
||||||
if [[ "${argv[$i]}" =~ (-sa|-as) ]]; then
|
if [[ "${argv[$i]}" =~ (-sa|-as) ]]; then
|
||||||
local attention='!'
|
local attention='!'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue