Normalize conditional expressions
This commit is contained in:
parent
0372a97a64
commit
4466d08174
@ -50,13 +50,9 @@ zbell_end() {
|
||||
zbell_lastcmd_tmp="$zbell_lastcmd"
|
||||
regexp-replace zbell_lastcmd_tmp '^sudo ' ''
|
||||
|
||||
if [[ $zbell_last_timestamp == $zbell_timestamp ]]; then
|
||||
return
|
||||
fi
|
||||
[[ $zbell_last_timestamp == $zbell_timestamp ]] && return
|
||||
|
||||
if [[ $zbell_lastcmd_tmp == "" ]]; then
|
||||
return;
|
||||
fi
|
||||
[[ $zbell_lastcmd_tmp == "" ]] && return
|
||||
|
||||
zbell_last_timestamp=$zbell_timestamp
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user