Skip to content

Instantly share code, notes, and snippets.

View FloppyDisco's full-sized avatar
💭
My dog writes most of my code.

Josh Piasecki FloppyDisco

💭
My dog writes most of my code.
View GitHub Profile

ZSH CheatSheet

This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.

Strings

Description Syntax
Get the length of a string ${#VARNAME}
Get a single character ${VARNAME[index]}