No opinion on the whitespace w.r.t colon, but I've written stuff in the past to keep the conditions aligned like this: if false: discard elif 3==4: echo "Something wrong" elif 5==6: echo "Somethine else wrong" else : echo "Something right" Run
which lets me reshuffle the "elif" lines and doesn't give the first any special role. (And note, I've placed the colon in the else line here to make sure everyone dislikes it!)