zsh

5 posts tagged “zsh”.

  1. 2025
  2. Customizing my zsh prompt

    I got fed up of the default macOS prompt: simon@Simons-MacBook-Pro % Mainly because I like copying and pasting terminal examples into GitHub issues.

    1 min read
  3. Fixing "compinit: insecure directories" error

    Every time I opened a terminal on my new Mac running Catalina with zsh I got the following annoying error: Based on a tip in https://github.com/zsh-users/zsh-completions/issues/680 I fixed it by doing…

    1 min read
  4. 2024
  5. A script to capture frames from a QuickTime video

    I was putting together some notes for a talk I gave, and I wanted an efficient way to create screenshots of specific moments in a video of that talk.

    2 min read
  6. 2023
  7. Atuin for zsh shell history in SQLite

    Atuin (via Rhet Turnbull) "replaces your existing shell history with a SQLite database". Obviously I had to try this out!

    1 min read
  8. Passing command arguments using heredoc syntax

    This trick works for both Bash and zsh. I wanted to pass the following as an argument to the sqlite-utils CLI tool: Problem: this contains both single AND double quotes, which makes string escaping a…

    1 min read