Pixelastic

Personal blog of Tim Carry. Posting mostly on tech-related stuff.

  • Home
  • About
  • Archive
Code available on GitHub

Search

#zsh

  • Substrings in zsh
  • Path to the current script folder in zsh
  • How to trim a string in zsh
  • Slicing an array in zsh
  • Check if an array contains a value
  • Custom completion methods in zsh
  • Parsing string as arguments in zsh
  • Deduplicating array values in zsh
  • Replacing new lines with spaces in zsh
  • Complex sed search and replace (multiline, regexp, non-greedy)
  • Splitting a string with zsh
  • ZSH filepath modifiers
  • Default variable values with zsh
  • Search and replace with zsh
  • Scoping zsh variables
  • Dynamic variable names in zsh
  • Iterating on words and lines in zsh