Skip to content

Instantly share code, notes, and snippets.

View scottjl's full-sized avatar

ScottJL scottjl

  • USA
View GitHub Profile
### Keybase proof
I hereby claim:
* I am scottjl on github.
* I am scottjl (https://keybase.io/scottjl) on keybase.
* I have a public key whose fingerprint is C1B7 856F C76F B9AB CABD 6706 F794 638A A9D6 9731
To claim this, I am signing this object:

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 a single character ${VARNAME[index]}
Get the string from a specific index ${VARNAME[index,-1]}