cheat sheets.

$ cheat zsh_case
case $var in
    <<pattern1>>)
        <<things to do for pattern 1>>
    ;;
    <<pattern2>>)
        <<things to do for pattern 1>>
    ;;
    *)  # The default condition
        <<things to do in the default case>>
    ;;
esac
Version 2, updated 174 days ago.
. o 0 ( | previous | history | revert to | current | diff )
( add new | see all )