Skip to content

Instantly share code, notes, and snippets.

View ClementNerma's full-sized avatar

Clément Nerma ClementNerma

  • France
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]}

Keybase proof

I hereby claim:

  • I am clementnerma on github.
  • I am clementnerma (https://keybase.io/clementnerma) on keybase.
  • I have a public key ASAMWy7709VbEi2h5KnYVjOkhNbulZpBzRLDzIefGi9DGQo

To claim this, I am signing this object: