fix fish terminal 256 checking conditional