I am working on my fish.config for using the fish shell.
I am trying to compare strings using bash syntax but fish doesn't accept the syntax. There is clearly another way to do it. Any suggestions for a solution as clean as the bash solution below?
if [[ $STRING == *"other_string"* ]]; then echo "It contains the string!" fi