We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bb3214 commit a997ac7Copy full SHA for a997ac7
linuxmac.zsh
@@ -1,6 +1,7 @@
1
-if [ "$USER:l" = *djafar* ]; then
2
- echo "Hi Djafar"
3
-fi
+case "$USER:l" in
+ *"djafar"*)
+ echo "Hi Djafar" ;;*)
4
+esac
5
# Hi Djafar.
6
7
0 commit comments